From acd6b4899b07990cc3b72a20a7ef518c9912f61d Mon Sep 17 00:00:00 2001 From: Richard Palethorpe Date: Tue, 2 Apr 2024 15:11:25 +0100 Subject: [PATCH] Remove the slow tests from CI Pulling the images is extremely slow in KIND. We need a new CI. --- script/test.sh | 2 +- tests/e2e/e2e_localai.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/test.sh b/script/test.sh index d3bdbd4..5df2d93 100755 --- a/script/test.sh +++ b/script/test.sh @@ -70,4 +70,4 @@ kubectl wait --for=condition=Ready node/$CLUSTER_NAME-control-plane export EXTERNAL_IP=$(kubectl get nodes -o jsonpath='{.items[].status.addresses[?(@.type == "InternalIP")].address}') export BRIDGE_IP="172.18.0.1" kubectl get nodes -o wide -cd $ROOT_DIR/tests && go run github.com/onsi/ginkgo/v2/ginkgo -r -v ./e2e +cd $ROOT_DIR/tests && go run github.com/onsi/ginkgo/v2/ginkgo -r -v --label-filter="!slow" ./e2e diff --git a/tests/e2e/e2e_localai.go b/tests/e2e/e2e_localai.go index cfe7e94..2327199 100644 --- a/tests/e2e/e2e_localai.go +++ b/tests/e2e/e2e_localai.go @@ -95,7 +95,7 @@ var _ = Describe("localai test", func() { } }) - It("starts the API", func() { + It("starts the API", Label("slow"), func() { By("starting the workload with the associated label") Eventually(func(g Gomega) bool { deploymentPod := &corev1.Pod{} @@ -511,7 +511,7 @@ var _ = Describe("localai test", func() { Expect(err).ToNot(HaveOccurred()) }) - It("Creates a deployment with the expected volumes", func() { + It("Creates a deployment with the expected volumes", Label("slow"), func() { By("creating the workload with the associated label") Eventually(func(g Gomega) bool { deployment := &appsv1.Deployment{}