Skip to content

Commit

Permalink
IWF-163: Fix double method call
Browse files Browse the repository at this point in the history
  • Loading branch information
lwolczynski committed Nov 25, 2024
1 parent fc4f2d6 commit bbe6f74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integ/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func doStartIwfServiceWithClient(config IwfServiceTestConfig) (uclient uclient.U
}()

// start iwf interpreter worker
interpreter := temporal.NewInterpreterWorker(createTestConfig(config), temporalClient, service.TaskQueue, config.MemoEncryption, dataConverter, uclient)
interpreter := temporal.NewInterpreterWorker(testCfg, temporalClient, service.TaskQueue, config.MemoEncryption, dataConverter, uclient)
if *disableStickyCache {
interpreter.StartWithStickyCacheDisabledForTest()
} else {
Expand All @@ -151,7 +151,7 @@ func doStartIwfServiceWithClient(config IwfServiceTestConfig) (uclient uclient.U
testCfg := createTestConfig(config)

uclient = cadenceapi.NewCadenceClient(iwf.DefaultCadenceDomain, cadenceClient, serviceClient, encoded.GetDefaultDataConverter(), closeFunc, &testCfg.Api.QueryWorkflowFailedRetryPolicy)
iwfService := api.NewService(createTestConfig(config), uclient, logger)
iwfService := api.NewService(testCfg, uclient, logger)
iwfServer := &http.Server{
Addr: ":" + testIwfServerPort,
Handler: iwfService,
Expand All @@ -163,7 +163,7 @@ func doStartIwfServiceWithClient(config IwfServiceTestConfig) (uclient uclient.U
}()

// start iwf interpreter worker
interpreter := cadence.NewInterpreterWorker(createTestConfig(config), serviceClient, iwf.DefaultCadenceDomain, service.TaskQueue, closeFunc, uclient)
interpreter := cadence.NewInterpreterWorker(testCfg, serviceClient, iwf.DefaultCadenceDomain, service.TaskQueue, closeFunc, uclient)
if *disableStickyCache {
interpreter.StartWithStickyCacheDisabledForTest()
} else {
Expand Down

0 comments on commit bbe6f74

Please sign in to comment.