From ea538b911c7c47c8f6f2435623e0ac216c36aa00 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Tue, 31 Aug 2021 12:55:39 +0200 Subject: [PATCH] ci: Increase timeout on test raw Currently the github runners performance is not stable enough to let the auto retry on the test framework to work as expected in the given time (180s) This patch bumps the timeout to 300 seconds instead which should be more than enough for the VM to come up. Signed-off-by: Itxaka --- tests/recovery-raw-disk/recovery_raw_disk_test.go | 2 +- tests/sut/sut.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/recovery-raw-disk/recovery_raw_disk_test.go b/tests/recovery-raw-disk/recovery_raw_disk_test.go index 74548680aed..2cbff862269 100644 --- a/tests/recovery-raw-disk/recovery_raw_disk_test.go +++ b/tests/recovery-raw-disk/recovery_raw_disk_test.go @@ -12,7 +12,7 @@ var _ = Describe("cOS Recovery deploy tests", func() { BeforeEach(func() { s = sut.NewSUT() - s.EventuallyConnects() + s.EventuallyConnects(sut.TimeoutRawDiskTest) }) Context("after running recovery from the raw_disk image", func() { diff --git a/tests/sut/sut.go b/tests/sut/sut.go index 9410f8783ef..32ccbcb629f 100644 --- a/tests/sut/sut.go +++ b/tests/sut/sut.go @@ -23,6 +23,8 @@ const ( Active = iota Recovery = iota UnknownBoot = iota + + TimeoutRawDiskTest = 600 // Timeout to connect for recovery_raw_disk_test ) type SUT struct {