Skip to content

Commit 5c5f8aa

Browse files
committed
Fix testEnv redeclaration in integration tests
Removed duplicate testEnv struct declaration from integration_test.go as it was already defined in env_helpers.go. This resolves the build error that was preventing integration tests from running.
1 parent a9ecfff commit 5c5f8aa

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

internal/tests/internal/integration_test.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ func waitForCondition(condition func() bool, timeout, interval time.Duration) bo
4444
}
4545
}
4646

47-
type testEnv struct {
48-
k8sClient client.Client
49-
mgr manager.Manager
50-
ts *temporaltest.TestServer
51-
connection *temporaliov1alpha1.TemporalConnection
52-
replicas map[string]int32
53-
images map[string]string
54-
}
55-
5647
// TestIntegration runs integration tests for the Temporal Worker Controller
5748
func TestIntegration(t *testing.T) {
5849
// Set up test environment

0 commit comments

Comments
 (0)