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:
parent
38d6d94477
commit
b0c2ab9b68
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue