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

Adding functional test for Granular Stop Timeout #1963

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

ubhattacharjya
Copy link
Contributor

Summary

Adding functional tests for Granular Stop Timeout

Implementation details

Testing

New tests cover the changes:

Description for the changelog

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ubhattacharjya ubhattacharjya requested a review from a team March 26, 2019 19:45
@ubhattacharjya ubhattacharjya changed the title Adding functional tests for Granular Stop Timeout Adding functional test for Granular Stop Timeout Mar 26, 2019
"cpu": 0,
"memory": 64,
"essential": false,
"command": ["sh", "-c", "trap 'echo caught' SIGTERM; sleep 60"],
Copy link
Contributor

Choose a reason for hiding this comment

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

is there any damage in doing 20 and 30 seconds? Instead of 50 and 60? Just to make test go a bit faster

@@ -362,6 +362,10 @@ func TestContainerOrderingTimeout(t *testing.T) {
t.Fatalf("Timed out waiting for task to reach stopped. Error %#v, task %#v", err, testTask)
}

if exit, ok := testTask.ContainerExitcode("success-timeout-dependency"); !ok || exit != 137 {
Copy link
Contributor

Choose a reason for hiding this comment

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

? where did this come from?

@ubhattacharjya ubhattacharjya added this to the 1.27.0 milestone Mar 27, 2019
@ubhattacharjya
Copy link
Contributor Author

The functional tests failing in arm are the following:

#1962
#1910
#1903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants