-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
None
-
False
Bug report
In some cases the tests are running forever
What behaviour do you expect?
Tests should fail after a period of time
What behaviour do you see?
Test is running forever
In AbstractCommitLogProcessorTest class, this line:
await().forever().until(() -> context.getSchemaHolder().getKeyValueSchema(new KeyspaceTable(TEST_KEYSPACE_NAME, TEST_TABLE_NAME)) != null);
makes the test to run forever
It should be something like:
await().atMost(10, TimeUnit.SECONDS).until(() -> context.getSchemaHolder().getKeyValueSchema(new KeyspaceTable(TEST_KEYSPACE_NAME, TEST_TABLE_NAME)) != null);