File tree Expand file tree Collapse file tree
dd-java-agent/instrumentation/lettuce-5/src/test/groovy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import io.lettuce.core.api.reactive.RedisReactiveCommands
99import io.lettuce.core.api.sync.RedisCommands
1010import org.testcontainers.containers.wait.strategy.Wait
1111import org.testcontainers.utility.DockerImageName
12+ import spock.lang.Shared
1213import spock.util.concurrent.PollingConditions
1314
1415import static datadog.trace.agent.test.utils.TraceUtils.runUnderTrace
@@ -18,7 +19,8 @@ abstract class Lettuce5ClientTestBase extends VersionedNamingTestBase {
1819 // Disable autoreconnect so we do not get stray traces popping up on server shutdown
1920 public static final ClientOptions CLIENT_OPTIONS = ClientOptions . builder(). autoReconnect(false ). build()
2021
21- public static final Map<String , String > testHashMap = [
22+ @Shared
23+ Map<String , String > testHashMap = [
2224 firstname : " John" ,
2325 lastname : " Doe" ,
2426 age : " 53"
You can’t perform that action at this time.
0 commit comments