From fb3e48b94f05b3fa684590c221b367c27471c2be Mon Sep 17 00:00:00 2001 From: Jan Wozniak Date: Fri, 25 Oct 2024 11:43:04 +0200 Subject: [PATCH] tests: remove sleep from e2e test (#1176) Signed-off-by: Jan Wozniak --- .../internal_service_port_name_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/checks/internal_service_port_name/internal_service_port_name_test.go b/tests/checks/internal_service_port_name/internal_service_port_name_test.go index eb8db1de..dd3c44b4 100644 --- a/tests/checks/internal_service_port_name/internal_service_port_name_test.go +++ b/tests/checks/internal_service_port_name/internal_service_port_name_test.go @@ -6,7 +6,6 @@ package internal_service_port_name_test import ( "fmt" "testing" - "time" "github.com/stretchr/testify/assert" "k8s.io/client-go/kubernetes" @@ -151,7 +150,6 @@ func TestCheck(t *testing.T) { func testScaleOut(t *testing.T, kc *kubernetes.Clientset, data templateData) { t.Log("--- testing scale out ---") - time.Sleep(5 * time.Second) KubectlApplyWithTemplate(t, data, "loadJobTemplate", loadJobTemplate) assert.True(t, WaitForDeploymentReplicaReadyCount(t, kc, deploymentName, testNamespace, maxReplicaCount, 6, 10),