Lettuce: wait for trace after setup code
Otherwise that trace may land at some random point in time after and
cause flaky tests.
@@ -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() {
