Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests about Reloading failing seemingly randomly #290

Open
pgrt opened this issue Mar 6, 2022 · 0 comments
Open

Tests about Reloading failing seemingly randomly #290

pgrt opened this issue Mar 6, 2022 · 0 comments

Comments

@pgrt
Copy link

pgrt commented Mar 6, 2022

Hello,

I have started packaging owner into Debian GNU/Linux. While doing so, I met an issue with the tests
testReloadWorksWhenURLContainsVariablesToExpand
and
testAutoReloadFromClasspath
which succeeded during many builds, then suddenly began repetitively failing, with the messages

`[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.026 s <<< FAILURE! - in org.aeonbits.owner.reload.SyncAutoReloadTest
[ERROR] testAutoReloadFromClasspath(org.aeonbits.owner.reload.SyncAutoReloadTest) Time elapsed: 0.012 s <<< FAILURE!
java.lang.AssertionError: expected:<20> but was:<10>
at org.aeonbits.owner.reload.SyncAutoReloadTest.testAutoReloadFromClasspath(SyncAutoReloadTest.java:181)

...

[INFO] Running org.aeonbits.owner.reload.HotReloadWhenURLContainsVariablesTest
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.007 s <<< FAILURE! - in org.aeonbits.owner.reload.HotReloadWhenURLContainsVariablesTest
[ERROR] testReloadWorksWhenURLContainsVariablesToExpand(org.aeonbits.owner.reload.HotReloadWhenURLContainsVariablesTest) Time elapsed: 0.007 s <<< FAILURE!
java.lang.AssertionError: expected:<10> but was:<5>
at org.aeonbits.owner.reload.HotReloadWhenURLContainsVariablesTest.testReloadWorksWhenURLContainsVariablesToExpand(HotReloadWhenURLContainsVariablesTest.java:72)`

Would you have any idea why these failures suddenly came up?

Thanks a lot and best regards,

Pierre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant