Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
1585 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

Same here!

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 15
3243
1
mar 17
6220
0
sie 15
50
0
cze 24
474
0
sie 21
4