The test 'testWorkerForcefulShutdown' was using Thread.sleep() to create the conditions for an interrupted state. It was possible for the test to take enough time for the sleep to actually exit before the interrupt was sent. This would cause the test to fail. Changing to a pair of sempahores ensures that the test record processor will remain blocked for the expected amount of time. |
||
|---|---|---|
| .. | ||
| services/kinesis | ||