Skip to content

Commit

Permalink
🤖 Increment wait time (kairos-io#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler authored Oct 3, 2022
1 parent f9a3f67 commit 9b345ed
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/autoinstall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var _ = Describe("kairos autoinstall test", Label("autoinstall-test"), func() {
Fail("CLOUD_INIT must be set and must be pointing to a file as an absolute path")
}

EventuallyConnects()
EventuallyConnects(720)
})

AfterEach(func() {
Expand Down
2 changes: 1 addition & 1 deletion tests/bundles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var _ = Describe("kairos bundles test", Label("bundles-test"), func() {
Fail("CLOUD_INIT must be set and must be pointing to a file as an absolute path")
}

EventuallyConnects()
EventuallyConnects(720)
})

AfterEach(func() {
Expand Down
6 changes: 3 additions & 3 deletions tests/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import (
var _ = Describe("kairos install test", Label("install-test"), func() {

BeforeEach(func() {
EventuallyConnects()
EventuallyConnects(720)
})

AfterEach(func() {
Machine.Clean()
Machine.Create()
EventuallyConnects()
EventuallyConnects(720)
})

testInstall := func(cloudConfig string, actual interface{}, m types.GomegaMatcher) {
Expand All @@ -48,7 +48,7 @@ var _ = Describe("kairos install test", Label("install-test"), func() {

detachAndReboot()

EventuallyConnects()
EventuallyConnects(720)
Eventually(actual, 5*time.Minute, 10*time.Second).Should(m)
}

Expand Down
2 changes: 1 addition & 1 deletion tests/reset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var _ = Describe("kairos reset test", Label("reset-test"), func() {
Fail("CLOUD_INIT must be set and must be pointing to a file as an absolute path")
}

EventuallyConnects()
EventuallyConnects(720)
})

Context("live cd", func() {
Expand Down
2 changes: 1 addition & 1 deletion tests/upgrade_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var _ = Describe("k3s upgrade manual test", Label("upgrade-with-cli"), func() {
containerImage := os.Getenv("CONTAINER_IMAGE")

BeforeEach(func() {
EventuallyConnects()
EventuallyConnects(720)
})

Context("live cd", func() {
Expand Down
2 changes: 1 addition & 1 deletion tests/upgrade_latest_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var _ = Describe("k3s upgrade manual test", Label("upgrade-latest-with-cli"), fu
containerImage := os.Getenv("CONTAINER_IMAGE")

BeforeEach(func() {
EventuallyConnects()
EventuallyConnects(720)
})

Context("live cd", func() {
Expand Down

0 comments on commit 9b345ed

Please sign in to comment.