Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
1547 Vistas

Hi everyone,

I'm encountering a failing test while creating a development branch for odoo.sh (Odoo v17 latest). The error is as follows:

2024-09-05 23:09:07,902 4 INFO orgname-main-15141527 odoo.addons.bus.tests.test_notify: Starting NotifyTests.test_get_notify_payloads ...
2024-09-05 23:09:07,904 4 INFO orgname-main-15141527 odoo.addons.bus.tests.test_notify: Starting NotifyTests.test_postcommit ...
2024-09-05 23:09:07,923 4 INFO orgname-main-15141527 odoo.addons.bus.tests.test_notify: ======================================================================
2024-09-05 23:09:07,923 4 ERROR orgname-main-15141527 odoo.addons.bus.tests.test_notify: FAIL: NotifyTests.test_postcommit Traceback (most recent call last): File "/home/odoo/src/odoo/addons/bus/tests/test_notify.py", line 93, in test_postcommit self.assertEqual( AssertionError: Lists differ: [] != [['orgname-main-15141527', 'channe[49 chars] 2']] Second list contains 2 additional elements. First extra element 0: ['orgname-main-15141527', 'channel 1'] - [] + [['orgname-main-15141527', 'channel 1'], + ['orgname-main-15141527', 'channel 2']]

(Note: I've replaced the organization name with "orgname.")

Does anyone have an idea on how to resolve this? I didn't write that test so I don't have access to it's source code. Any help would be greatly appreciated!


Sorry for posting this again. I accidentally closed my last question.

Avatar
Descartar
Mejor respuesta

I'm seeing the same thing, currently testing an empty repo to see if it also errors. Have you opened a ticket with odoo support?


EDIT: yes, it fails with an empty repository (well, one with a readme .md) created in my org, but doesn't fail with an empty repository created by odoo .sh, probably because the tests don't run. I'll open a ticket with support.

Avatar
Descartar
Mejor respuesta

It seems to fail since odoo.sh release 17.0.20240902. So if you downgrade to 17.0.20240826, that might fix it for you as well. It did for me.

Avatar
Descartar
Mejor respuesta

Same here!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 15
3230
1
mar 17
6216
0
ago 15
50
0
jun 24
474
0
ago 21
4