bereng commented on a change in pull request #1021:
URL: https://github.com/apache/cassandra/pull/1021#discussion_r648842971
##########
File path: test/unit/org/apache/cassandra/service/ActiveRepairServiceTest.java
##########
@@ -387,10 +407,13 @@ public void testRejectWhenPoolFullStrategy() throws
InterruptedException
{
// expected
}
+
// allow executing tests to complete
blocked.signalAll();
- completed.await(10, TimeUnit.SECONDS);
+ completed.await(11, TimeUnit.SECONDS);
+
// Submission is unblocked
+ Thread.sleep(100);
Review comment:
Again the same error is produced if we don't wait. My guess being
between task completion and TP readiness there is a small window the queue/TP
interaction is broken.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]