-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
v5.0
-
Service Arch 2021-12-13, Service Arch 2022-1-10
-
12
The non-deterministic and sporadic test failure in BF-22755 seems to be caused by a left-over thread from a different test terminating while the ThreadContextTest suite is running. Since TestDecoration would be applied to any thread, not just those created in the test suite, this would cause the counters to be modified unexpectedly. The solution is to make sure that only the threads spawned inside this test suite can modify the counters.