From c236f20b3a681c5ebc2a523f1abc45749a097f8c Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Wed, 11 Sep 2024 11:34:16 +0100 Subject: [PATCH] test - increase values --- : | 0 .../testdata/project/test/e2e/e2e_test.go | 9 +++++++-- .../testdata/project/test/e2e/e2e_test.go | 9 +++++++-- .../testdata/project/test/e2e/e2e_test.go | 9 +++++++-- .../v4/scaffolds/internal/templates/test/e2e/test.go | 9 +++++++-- testdata/project-v4-multigroup/test/e2e/e2e_test.go | 9 +++++++-- testdata/project-v4-with-plugins/test/e2e/e2e_test.go | 9 +++++++-- testdata/project-v4/test/e2e/e2e_test.go | 9 +++++++-- 8 files changed, 49 insertions(+), 14 deletions(-) create mode 100644 : diff --git a/: b/: new file mode 100644 index 00000000000..e69de29bb2d diff --git a/docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_test.go b/docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_test.go index d006bec43aa..4475a4b327c 100644 --- a/docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_test.go +++ b/docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_test.go @@ -79,8 +79,13 @@ var _ = Describe("Manager", Ordered, func() { _, _ = utils.Run(cmd) }) - SetDefaultEventuallyTimeout(2 * time.Minute) - SetDefaultEventuallyPollingInterval(time.Second) + // SetDefaultEventuallyTimeout sets the maximum amount of time that + // Eventually will keep retrying the condition before it fails + SetDefaultEventuallyTimeout(5 * time.Minute) + + // SetDefaultEventuallyPollingInterval sets how frequently Eventually + // should poll (or retry) the condition + SetDefaultEventuallyPollingInterval(5 * time.Second) // The Context block contains the actual tests that validate the manager's behavior. Context("Manager", func() { diff --git a/docs/book/src/getting-started/testdata/project/test/e2e/e2e_test.go b/docs/book/src/getting-started/testdata/project/test/e2e/e2e_test.go index cc26cf65037..f7b3a49382b 100644 --- a/docs/book/src/getting-started/testdata/project/test/e2e/e2e_test.go +++ b/docs/book/src/getting-started/testdata/project/test/e2e/e2e_test.go @@ -79,8 +79,13 @@ var _ = Describe("Manager", Ordered, func() { _, _ = utils.Run(cmd) }) - SetDefaultEventuallyTimeout(2 * time.Minute) - SetDefaultEventuallyPollingInterval(time.Second) + // SetDefaultEventuallyTimeout sets the maximum amount of time that + // Eventually will keep retrying the condition before it fails + SetDefaultEventuallyTimeout(5 * time.Minute) + + // SetDefaultEventuallyPollingInterval sets how frequently Eventually + // should poll (or retry) the condition + SetDefaultEventuallyPollingInterval(5 * time.Second) // The Context block contains the actual tests that validate the manager's behavior. Context("Manager", func() { diff --git a/docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_test.go b/docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_test.go index d006bec43aa..4475a4b327c 100644 --- a/docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_test.go +++ b/docs/book/src/multiversion-tutorial/testdata/project/test/e2e/e2e_test.go @@ -79,8 +79,13 @@ var _ = Describe("Manager", Ordered, func() { _, _ = utils.Run(cmd) }) - SetDefaultEventuallyTimeout(2 * time.Minute) - SetDefaultEventuallyPollingInterval(time.Second) + // SetDefaultEventuallyTimeout sets the maximum amount of time that + // Eventually will keep retrying the condition before it fails + SetDefaultEventuallyTimeout(5 * time.Minute) + + // SetDefaultEventuallyPollingInterval sets how frequently Eventually + // should poll (or retry) the condition + SetDefaultEventuallyPollingInterval(5 * time.Second) // The Context block contains the actual tests that validate the manager's behavior. Context("Manager", func() { diff --git a/pkg/plugins/golang/v4/scaffolds/internal/templates/test/e2e/test.go b/pkg/plugins/golang/v4/scaffolds/internal/templates/test/e2e/test.go index daad17105f1..458d7e02258 100644 --- a/pkg/plugins/golang/v4/scaffolds/internal/templates/test/e2e/test.go +++ b/pkg/plugins/golang/v4/scaffolds/internal/templates/test/e2e/test.go @@ -212,8 +212,13 @@ var _ = Describe("Manager", Ordered, func() { _, _ = utils.Run(cmd) }) - SetDefaultEventuallyTimeout(2 * time.Minute) - SetDefaultEventuallyPollingInterval(time.Second) + // SetDefaultEventuallyTimeout sets the maximum amount of time that + // Eventually will keep retrying the condition before it fails + SetDefaultEventuallyTimeout(5 * time.Minute) + + // SetDefaultEventuallyPollingInterval sets how frequently Eventually + // should poll (or retry) the condition + SetDefaultEventuallyPollingInterval(5 * time.Second) // The Context block contains the actual tests that validate the manager's behavior. Context("Manager", func() { diff --git a/testdata/project-v4-multigroup/test/e2e/e2e_test.go b/testdata/project-v4-multigroup/test/e2e/e2e_test.go index b54416080e6..682a5883ec9 100644 --- a/testdata/project-v4-multigroup/test/e2e/e2e_test.go +++ b/testdata/project-v4-multigroup/test/e2e/e2e_test.go @@ -79,8 +79,13 @@ var _ = Describe("Manager", Ordered, func() { _, _ = utils.Run(cmd) }) - SetDefaultEventuallyTimeout(2 * time.Minute) - SetDefaultEventuallyPollingInterval(time.Second) + // SetDefaultEventuallyTimeout sets the maximum amount of time that + // Eventually will keep retrying the condition before it fails + SetDefaultEventuallyTimeout(5 * time.Minute) + + // SetDefaultEventuallyPollingInterval sets how frequently Eventually + // should poll (or retry) the condition + SetDefaultEventuallyPollingInterval(5 * time.Second) // The Context block contains the actual tests that validate the manager's behavior. Context("Manager", func() { diff --git a/testdata/project-v4-with-plugins/test/e2e/e2e_test.go b/testdata/project-v4-with-plugins/test/e2e/e2e_test.go index 6687582890d..1eac3f98d79 100644 --- a/testdata/project-v4-with-plugins/test/e2e/e2e_test.go +++ b/testdata/project-v4-with-plugins/test/e2e/e2e_test.go @@ -79,8 +79,13 @@ var _ = Describe("Manager", Ordered, func() { _, _ = utils.Run(cmd) }) - SetDefaultEventuallyTimeout(2 * time.Minute) - SetDefaultEventuallyPollingInterval(time.Second) + // SetDefaultEventuallyTimeout sets the maximum amount of time that + // Eventually will keep retrying the condition before it fails + SetDefaultEventuallyTimeout(5 * time.Minute) + + // SetDefaultEventuallyPollingInterval sets how frequently Eventually + // should poll (or retry) the condition + SetDefaultEventuallyPollingInterval(5 * time.Second) // The Context block contains the actual tests that validate the manager's behavior. Context("Manager", func() { diff --git a/testdata/project-v4/test/e2e/e2e_test.go b/testdata/project-v4/test/e2e/e2e_test.go index 9a2bef28adc..4eb9d3b18a7 100644 --- a/testdata/project-v4/test/e2e/e2e_test.go +++ b/testdata/project-v4/test/e2e/e2e_test.go @@ -79,8 +79,13 @@ var _ = Describe("Manager", Ordered, func() { _, _ = utils.Run(cmd) }) - SetDefaultEventuallyTimeout(2 * time.Minute) - SetDefaultEventuallyPollingInterval(time.Second) + // SetDefaultEventuallyTimeout sets the maximum amount of time that + // Eventually will keep retrying the condition before it fails + SetDefaultEventuallyTimeout(5 * time.Minute) + + // SetDefaultEventuallyPollingInterval sets how frequently Eventually + // should poll (or retry) the condition + SetDefaultEventuallyPollingInterval(5 * time.Second) // The Context block contains the actual tests that validate the manager's behavior. Context("Manager", func() {