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{}