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 {