Skip to content

Commit

Permalink
tests: remove sleep from e2e test (#1176)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Wozniak <[email protected]>
  • Loading branch information
wozniakjan authored Oct 25, 2024
1 parent f5ab058 commit fb3e48b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package internal_service_port_name_test
import (
"fmt"
"testing"
"time"

"github.com/stretchr/testify/assert"
"k8s.io/client-go/kubernetes"
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit fb3e48b

Please sign in to comment.