Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): Fixed Flaky e2e tests TestSynchronizationWfLevelMutex and TestResourceTemplateStopAndTerminate/ResourceTemplateStop #4688

Merged
merged 6 commits into from Dec 11, 2020

Conversation

sarabala1979
Copy link
Member

Signed-off-by: Saravanan Balasubramanian sarabala1979@gmail.com

Checklist:

Fixes #4559
Fixes #4629

Signed-off-by: Saravanan Balasubramanian <sarabala1979@gmail.com>
@sarabala1979 sarabala1979 marked this pull request as draft December 9, 2020 19:37
sarabala1979 and others added 2 commits December 9, 2020 12:29
Signed-off-by: Saravanan Balasubramanian <sarabala1979@gmail.com>
@sarabala1979 sarabala1979 marked this pull request as ready for review December 9, 2020 22:36
@@ -1254,7 +1254,7 @@ func (s *CLISuite) TestSynchronizationWfLevelMutex() {
RunCli([]string{"get", "synchronization-wf-level-mutex"}, func(t *testing.T, output string, err error) {
assert.Contains(t, output, "Pending")
}).
WaitForWorkflow().
WaitForWorkflow(fixtures.ToBeCompleted, 120*time.Second).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is really too long for any e2e test to run - does it typically take 2m?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my local, each workflow takes 50s to 1.10m based on the resource in k3d. that's why I configured two conditions complete and timeout.

Copy link
Contributor

@alexec alexec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2m is a long amount of time for one or our e2e tests, but lets try it out anyway

@sarabala1979 sarabala1979 merged commit aec2218 into argoproj:master Dec 11, 2020
@simster7 simster7 mentioned this pull request Dec 15, 2020
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants