Project

General

Profile

Actions

Bug #23786

open

Inventory accept test sometimes fails on callback check

Added by François ARMAND 3 months ago. Updated 3 months ago.

Status:
Pending release
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 #1

Updated by François ARMAND 3 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #2

Updated by François ARMAND 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder/pull/5199
Actions #3

Updated by Anonymous 3 months ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF