跳至内容
菜单
此问题已终结
3 回复
1563 查看

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
8月 15
3237
1
3月 17
6219
0
8月 15
50
0
6月 24
474
0
8月 21
4