Skip to content

Commit

Permalink
back to localhost now that temporal no longer a container
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Feb 29, 2024
1 parent d371f98 commit 1085999
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions flow/e2e/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestMain(m *testing.M) {
group, _ := errgroup.WithContext(context.Background())
group.Go(func() error {
return cmd.WorkerMain(end, &cmd.WorkerOptions{
TemporalHostPort: "temporal:7233",
TemporalHostPort: "localhost:7233",
EnableProfiling: false,
PyroscopeServer: "",
TemporalNamespace: "default",
Expand All @@ -26,7 +26,7 @@ func TestMain(m *testing.M) {
})
group.Go(func() error {
return cmd.SnapshotWorkerMain(end, &cmd.SnapshotWorkerOptions{
TemporalHostPort: "temporal:7233",
TemporalHostPort: "localhost:7233",
TemporalNamespace: "default",
TemporalCert: "",
TemporalKey: "",
Expand Down
5 changes: 1 addition & 4 deletions flow/e2e/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,7 @@ func SetupCDCFlowStatusQuery(t *testing.T, env WorkflowRun, connectionGen FlowCo
for {
time.Sleep(time.Second)
counter++
response, err := env.Query(
shared.CDCFlowStateQuery,
connectionGen.FlowJobName,
)
response, err := env.Query(shared.CDCFlowStateQuery, connectionGen.FlowJobName)
if err == nil {
var state peerflow.CDCFlowWorkflowState
err = response.Get(&state)
Expand Down

0 comments on commit 1085999

Please sign in to comment.