Skip to content

Commit

Permalink
ci: Increase timeout on test raw
Browse files Browse the repository at this point in the history
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 <igarcia@suse.com>
  • Loading branch information
Itxaka committed Aug 31, 2021
1 parent ef56bd3 commit ea538b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/recovery-raw-disk/recovery_raw_disk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 2 additions & 0 deletions tests/sut/sut.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const (
Active = iota
Recovery = iota
UnknownBoot = iota

TimeoutRawDiskTest = 600 // Timeout to connect for recovery_raw_disk_test
)

type SUT struct {
Expand Down

0 comments on commit ea538b9

Please sign in to comment.