popstellar icon indicating copy to clipboard operation
popstellar copied to clipboard

StateLao test randomly failing

Open matteosz opened this issue 1 year ago • 0 comments

Description (Actual behavior)

Sometimes the test constructorFailsInvalidIdHashTest fails (StateLaoTest.kt), as it doesn't throw any exception when an IllegalArgumentException is expected (the id is invalid).

Expected behavior

The test should have a deterministic outcome

How to reproduce

Impossible to deterministically reproduce, it happens sometimes (my personal experience is around 5%).

Impact

Minimal impact, very low failure rate, just restarting the CI solves it.

Possible root cause

Didn't investigate already, it could be depending on the random id generation.

matteosz avatar Feb 06 '24 09:02 matteosz