Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
1603 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Beste Antwort

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
Verwerfen
Beste Antwort

Same here!

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Aug. 15
3253
1
März 17
6224
0
Aug. 15
50
0
Juni 24
474
0
Aug. 21
4