WavesJ icon indicating copy to clipboard operation
WavesJ copied to clipboard

Test flakyness

Open tubbynl opened this issue 4 years ago • 0 comments

mvn test fails consistently, when ran locally, but in different flavours, pretty flaky

one error

[ERROR] Tests run: 10, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 48.809 s <<< FAILURE! - in node.AliasTest
[ERROR] blocksDelay  Time elapsed: 0.63 s  <<< FAILURE!
java.lang.AssertionError: 

Expecting:
  -142863091
to be greater than:
  1000

	at node.BlocksTest.blocksDelay(BlocksTest.java:129)

one other error

[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.255 s - in node.LeasingTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   BlockchainTest.rewards:23 
Expecting:
  6
to be between:
  [4, 5]

for the two mvn tests i did from terminal, i moved to running individual tests in IntelliJ

tubbynl avatar Oct 26 '21 13:10 tubbynl