@@ -35,9 +35,9 @@ func TestIntegration(t *testing.T) {
3535 // Create test Temporal server and client
3636 dc := dynamicconfig .NewMemoryClient ()
3737 // make versions drain faster
38- dc .OverrideValue ("matching.wv.VersionDrainageStatusVisibilityGracePeriod" , testDrainageVisibilityGracePeriod )
39- dc .OverrideValue ("matching.wv.VersionDrainageStatusRefreshInterval" , testDrainageRefreshInterval )
40- dc .OverrideValue ("matching.maxVersionsInDeployment" , testMaxVersionsInDeployment )
38+ dc .OverrideValue (dynamicconfig . MakeKey ( "matching.wv.VersionDrainageStatusVisibilityGracePeriod" ) , testDrainageVisibilityGracePeriod )
39+ dc .OverrideValue (dynamicconfig . MakeKey ( "matching.wv.VersionDrainageStatusRefreshInterval" ) , testDrainageRefreshInterval )
40+ dc .OverrideValue (dynamicconfig . MakeKey ( "matching.maxVersionsInDeployment" ) , testMaxVersionsInDeployment )
4141 ts := temporaltest .NewServer (
4242 temporaltest .WithT (t ),
4343 temporaltest .WithBaseServerOptions (temporal .WithDynamicConfigClient (dc )),
@@ -720,11 +720,11 @@ func TestIntegration(t *testing.T) {
720720 // Create short TTL test Temporal server and client
721721 dcShortTTL := dynamicconfig .NewMemoryClient ()
722722 // make versions eligible for deletion faster
723- dcShortTTL .OverrideValue ("matching.PollerHistoryTTL" , testShortPollerHistoryTTL ) // default is 5 minutes
723+ dcShortTTL .OverrideValue (dynamicconfig . MakeKey ( "matching.PollerHistoryTTL" ) , testShortPollerHistoryTTL ) // default is 5 minutes
724724 // make versions drain faster
725- dcShortTTL .OverrideValue ("matching.wv.VersionDrainageStatusVisibilityGracePeriod" , testDrainageVisibilityGracePeriod )
726- dcShortTTL .OverrideValue ("matching.wv.VersionDrainageStatusRefreshInterval" , testDrainageRefreshInterval )
727- dcShortTTL .OverrideValue ("matching.maxVersionsInDeployment" , testMaxVersionsInDeployment )
725+ dcShortTTL .OverrideValue (dynamicconfig . MakeKey ( "matching.wv.VersionDrainageStatusVisibilityGracePeriod" ) , testDrainageVisibilityGracePeriod )
726+ dcShortTTL .OverrideValue (dynamicconfig . MakeKey ( "matching.wv.VersionDrainageStatusRefreshInterval" ) , testDrainageRefreshInterval )
727+ dcShortTTL .OverrideValue (dynamicconfig . MakeKey ( "matching.maxVersionsInDeployment" ) , testMaxVersionsInDeployment )
728728 tsShortTTL := temporaltest .NewServer (
729729 temporaltest .WithT (t ),
730730 temporaltest .WithBaseServerOptions (temporal .WithDynamicConfigClient (dcShortTTL )),
0 commit comments