equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 36 forks source link

MissionIsCreatedInArea test is nondeterministic #1686

Closed andchiind closed 1 week ago

andchiind commented 3 months ago

Describe the bug Sometimes the test fails other times it passes.

To Reproduce Run the test several times locally.

Expected behavior It should behave the same each time.

Screenshots The screenshots were taken without any code changes being made inbetween them: image

image

andchiind commented 2 months ago

AddDuplicateAreasToDb_Fails has also been observed to fail, but only when running all tests together. I have also only seen it fail when running the tests for the first time after a code change.

Image

Christdej commented 2 months ago

Hard to reproduce

tsundvoll commented 1 month ago

Seems to be related to multiple event handlers running the same context. Consider if possible to run with separate context for each event.