Project

General

Profile

Actions

Bug #23786

closed

Inventory accept test sometimes fails on callback check

Added by François ARMAND 12 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

We sometimes see:

[2023-11-23T19:28:48.464Z] [info] Saving a new, unknown inventory should
[2023-11-23T19:28:49.463Z] [error]   x correctly save the node in pending
[2023-11-23T19:28:49.463Z] [error]    Chunk() != Chunk(newPending) (TestSaveInventory.scala:317)
[2023-11-23T19:28:49.463Z] [info] 
[2023-11-23T19:28:49.463Z] [info] 

Which is likely linked to the fact that the callback filling that part is async and may exec after end of test.

We should put a retry on it.

Actions

Also available in: Atom PDF