popstellar
popstellar copied to clipboard
StateLao test randomly failing
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.