Skip to content

Commit

Permalink
cluster test requires kind
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelvillard committed Feb 8, 2023
1 parent 4f500f8 commit 8a824eb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pkg/cliplugins/workload/plugin/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@ rules:
- "list"
- "watch"
- "delete"
- apiGroups:
- ""
resources:
- endpoints
verbs:
- "get"
- apiGroups:
- "apiextensions.k8s.io"
resources:
Expand Down
6 changes: 5 additions & 1 deletion test/e2e/reconciler/cluster/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ const sourceClusterName, sinkClusterName = "source", "sink"

func TestClusterController(t *testing.T) {
t.Parallel()
framework.Suite(t, "transparent-multi-cluster")
framework.Suite(t, "transparent-multi-cluster:requires-kind")

if len(framework.TestConfig.PClusterKubeconfig()) == 0 {
t.Skip("Test requires a pcluster")
}

type runningServer struct {
client wildwestv1alpha1client.WildwestV1alpha1Interface
Expand Down

0 comments on commit 8a824eb

Please sign in to comment.