Skip to content

Commit

Permalink
e2e speedup (kubernetes-sigs#1921)
Browse files Browse the repository at this point in the history
* Create a separate make target for multikueue-e2e tests.

* Typo fix
  • Loading branch information
pajakd authored and vsoch committed Apr 18, 2024
1 parent bfbfca6 commit a260b62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -183,7 +183,10 @@ test-integration: gomod-download envtest ginkgo mpi-operator-crd ray-operator-cr

CREATE_KIND_CLUSTER ?= true
.PHONY: test-e2e
test-e2e: kustomize ginkgo yq gomod-download jobset-operator-crd run-test-e2e-$(E2E_KIND_VERSION:kindest/node:v%=%) run-test-multikueue-e2e-$(E2E_KIND_VERSION:kindest/node:v%=%)
test-e2e: kustomize ginkgo yq gomod-download jobset-operator-crd run-test-e2e-$(E2E_KIND_VERSION:kindest/node:v%=%)

.PHONY: test-multikueue-e2e
test-multikueue-e2e: kustomize ginkgo yq gomod-download jobset-operator-crd run-test-multikueue-e2e-$(E2E_KIND_VERSION:kindest/node:v%=%)


E2E_TARGETS := $(addprefix run-test-e2e-,${E2E_K8S_VERSIONS})
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/multikueue/suite_test.go
Expand Up @@ -56,7 +56,7 @@ var _ = ginkgo.BeforeSuite(func() {
gomega.Expect(worker1ClusterName).NotTo(gomega.BeEmpty(), "WORKER1_KIND_CLUSTER_NAME should not be empty")

worker2ClusterName := os.Getenv("WORKER2_KIND_CLUSTER_NAME")
gomega.Expect(worker1ClusterName).NotTo(gomega.BeEmpty(), "WORKER2_KIND_CLUSTER_NAME should not be empty")
gomega.Expect(worker2ClusterName).NotTo(gomega.BeEmpty(), "WORKER2_KIND_CLUSTER_NAME should not be empty")

k8sManagerClient = util.CreateClientUsingCluster("kind-" + managerClusterName)
k8sWorker1Client = util.CreateClientUsingCluster("kind-" + worker1ClusterName)
Expand Down

0 comments on commit a260b62

Please sign in to comment.