From 25870a5ada4f0ae235bc14edef150c3a15c7146b Mon Sep 17 00:00:00 2001 From: Yossi Segev Date: Sun, 24 Feb 2019 23:06:57 +0200 Subject: [PATCH] Increase the timeout of waiting for a TCP server job to complete to 120 seconds in all expose tests. --- tests/expose_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/expose_test.go b/tests/expose_test.go index c8ab924cf9df..c9eed6a086fa 100644 --- a/tests/expose_test.go +++ b/tests/expose_test.go @@ -99,7 +99,7 @@ var _ = Describe("Expose", func() { Expect(err).ToNot(HaveOccurred()) By("Waiting for the pod to report a successful connection attempt") - waitForJobToCompleteWithStatus(&virtClient, job, "success", 60) + waitForJobToCompleteWithStatus(&virtClient, job, "success", 120) }) }) @@ -187,7 +187,7 @@ var _ = Describe("Expose", func() { Expect(err).ToNot(HaveOccurred()) By("Waiting for the pod to report a successful connection attempt") - waitForJobToCompleteWithStatus(&virtClient, job, "success", 60) + waitForJobToCompleteWithStatus(&virtClient, job, "success", 120) } }) }) @@ -223,7 +223,7 @@ var _ = Describe("Expose", func() { Expect(err).ToNot(HaveOccurred()) By("Waiting for the pod to report a successful connection attempt") - waitForJobToCompleteWithStatus(&virtClient, job, "success", 60) + waitForJobToCompleteWithStatus(&virtClient, job, "success", 120) }) }) @@ -265,7 +265,7 @@ var _ = Describe("Expose", func() { Expect(err).ToNot(HaveOccurred()) By("Waiting for the pod to report a successful connection attempt") - waitForJobToCompleteWithStatus(&virtClient, job, "success", 60) + waitForJobToCompleteWithStatus(&virtClient, job, "success", 120) } }) }) @@ -326,7 +326,7 @@ var _ = Describe("Expose", func() { Expect(err).ToNot(HaveOccurred()) By("Waiting for the pod to report a successful connection attempt") - waitForJobToCompleteWithStatus(&virtClient, job, "success", 60) + waitForJobToCompleteWithStatus(&virtClient, job, "success", 120) }) }) }) @@ -388,7 +388,7 @@ var _ = Describe("Expose", func() { Expect(err).ToNot(HaveOccurred()) By("Waiting for the pod to report a successful connection attempt") - waitForJobToCompleteWithStatus(&virtClient, job, "success", 60) + waitForJobToCompleteWithStatus(&virtClient, job, "success", 120) By("Starting an HTTP server on the VM, to verify HTTP connection also succeeds using the exposed VM.") vmi, err := virtClient.VirtualMachineInstance(vm.Namespace).Get(vm.Name, &k8smetav1.GetOptions{})