Skip to content

Commit

Permalink
Try removing the slow test
Browse files Browse the repository at this point in the history
  • Loading branch information
richiejp committed Apr 2, 2024
1 parent 8d4aad7 commit 8cba3aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion script/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tests/e2e/e2e_localai.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down Expand Up @@ -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{}
Expand Down

0 comments on commit 8cba3aa

Please sign in to comment.