Skip to content

Commit

Permalink
chore: bump timeout in acquire tests
Browse files Browse the repository at this point in the history
With switching to RSA service account, machine config generation time is
considerably higher now, so the test might not make it in time.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
smira committed Feb 5, 2024
1 parent c19a505 commit 95ea3a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func TestAcquireSuite(t *testing.T) {

s := &AcquireSuite{
DefaultSuite: ctest.DefaultSuite{
Timeout: 5 * time.Second,
Timeout: 15 * time.Second,
},
}

Expand Down
2 changes: 1 addition & 1 deletion internal/app/machined/pkg/controllers/secrets/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestRootSuite(t *testing.T) {

suite.Run(t, &RootSuite{
DefaultSuite: ctest.DefaultSuite{
Timeout: 5 * time.Second,
Timeout: 10 * time.Second,
AfterSetup: func(suite *ctest.DefaultSuite) {
suite.Require().NoError(suite.Runtime().RegisterController(secretsctrl.NewRootEtcdController()))
suite.Require().NoError(suite.Runtime().RegisterController(secretsctrl.NewRootKubernetesController()))
Expand Down

0 comments on commit 95ea3a6

Please sign in to comment.