Lettuce: wait for trace after setup code

Otherwise that trace may land at some random point in time after and
cause flaky tests.
This commit is contained in:
Nikolay Martynov 2018-06-19 15:15:29 -04:00
parent 38d6d94477
commit b0c2ab9b68
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ class LettuceSyncClientTest extends AgentTestRunner {
redisServer.start()
StatefulConnection connection = redisClient.connect()
syncCommands = connection.sync()
TEST_WRITER.waitForTraces(1)
TEST_WRITER.clear()
}
def cleanupSpec() {