Skip to content

Commit

Permalink
removed podWaitForIPs where not needed.
Browse files Browse the repository at this point in the history
Signed-off-by: Hemant <[email protected]>
  • Loading branch information
hkiiita committed Oct 3, 2024
1 parent 5fe77ef commit 0081010
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/e2e/fqdn_dns_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ func createDnsPod(t *testing.T, data *TestData) {
pb.AddVolumeMount(volumeMount)

require.NoError(t, pb.Create(data))
_, err := data.podWaitForIPs(defaultTimeout, customDnsPodName, data.testNamespace)
require.NoError(t, err)
require.NoError(t, data.podWaitForRunning(defaultTimeout, customDnsPodName, data.testNamespace))

}

Expand Down Expand Up @@ -299,8 +298,7 @@ func createToolBoxPod(t *testing.T, data *TestData, dnsServiceIP string) {
}
pb.WithMutateFunc(mutateSpecForAddingCustomDNS)
require.NoError(t, pb.Create(data))
_, err := data.podWaitForIPs(defaultTimeout, toolBoxPodName, data.testNamespace)
require.NoError(t, err)
require.NoError(t, data.podWaitForRunning(defaultTimeout, toolBoxPodName, data.testNamespace))
}

func updateDnsPodAnnotations(t *testing.T, data *TestData) {
Expand Down

0 comments on commit 0081010

Please sign in to comment.