Skip to content

Commit 727273c

Browse files
committed
fix e2e test
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com> On-behalf-of: @SAP karol.szwaj@sap.com
1 parent 0cda970 commit 727273c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

test/e2e/bind/happy-case_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,11 @@ func testHappyCase(
227227
}
228228

229229
t.Logf("Creating consumer workspace and starting konnector")
230-
consumer1Config, consumer1Kubeconfig := framework.NewWorkspace(t, framework.ClientConfig(t), framework.WithName("%s-consumer-%s", name, suffix))
230+
consumer1Config, consumer1Kubeconfig := framework.NewWorkspace(t, framework.ClientConfig(t),
231+
framework.WithGenerateName("%s-consumer-%s-", name, suffix))
232+
consumer2Config, consumer2Kubeconfig := framework.NewWorkspace(t, framework.ClientConfig(t),
233+
framework.WithGenerateName("%s-consumer-%s-", name, suffix))
231234
framework.StartKonnector(t, consumer1Config, "--kubeconfig="+consumer1Kubeconfig, "--server-address=:0")
232-
233-
consumer2Config, consumer2Kubeconfig := framework.NewWorkspace(t, framework.ClientConfig(t), framework.WithName("%s-consumer-%s", name, suffix))
234235
framework.StartKonnector(t, consumer2Config, "--kubeconfig="+consumer2Kubeconfig, "--server-address=:0")
235236

236237
serviceGVR := schema.GroupVersionResource{Group: "wildwest.dev", Version: "v1alpha1", Resource: "cowboys"}

0 commit comments

Comments
 (0)