Skip to content

Commit

Permalink
Try removing time wait for services
Browse files Browse the repository at this point in the history
Signed-off-by: Yongming Ding <dyongming@vmware.com>
  • Loading branch information
dreamtalen committed Aug 1, 2022
1 parent 4b062bf commit 7e2cf5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions test/e2e/flowvisibility_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ func testHelper(t *testing.T, data *TestData, podAIPs, podBIPs, podCIPs, podDIPs
if err != nil {
failOnError(fmt.Errorf("error when creating perftest Services: %v", err), t, data)
}
// Wait for the Service to be realized.
time.Sleep(3 * time.Second)

// IntraNodeFlows tests the case, where Pods are deployed on same Node
// and their flow information is exported as IPFIX flow records.
Expand Down
2 changes: 0 additions & 2 deletions test/e2e/policyrecommendation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ func TestPolicyRecommendation(t *testing.T) {
if err != nil {
t.Fatalf("Error when creating perftest-b Service: %v", err)
}
// Wait for the Service to be realized.
time.Sleep(3 * time.Second)
// In dual stack cluster, Service IP can be assigned as different IP family from specified.
// In that case, source IP and destination IP will align with IP family of Service IP.
// For IPv4-only and IPv6-only cluster, IP family of Service IP will be same as Pod IPs.
Expand Down

0 comments on commit 7e2cf5d

Please sign in to comment.