تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
1573 أدوات العرض

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.

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

Same here!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أغسطس 15
3239
1
مارس 17
6219
0
أغسطس 15
50
0
يونيو 24
474
0
أغسطس 21
4