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

Fixing a few more functional tests #1767

Merged
merged 1 commit into from
Dec 31, 2018
Merged

Fixing a few more functional tests #1767

merged 1 commit into from
Dec 31, 2018

Conversation

fenxiong
Copy link
Contributor

@fenxiong fenxiong commented Dec 28, 2018

Summary

Fixing a few more functional tests. They were added after 1.23.0 release so i wasn't fixing them in #1751.

Implementation details

TestV3TaskEndpointTags TestTaskMetadataValidator

These two tests are flakey because of the same reason for TestContainerInstanceTags that was fixed in #1751. We cannot enable long arn at the start of test and disable it at the end, because we'd end up with race condition when multiple tests run at the same time.

TestTelemetryWithStatsPolling

This test needs a minimum memory requirement, same as TestTelemetry. i didn't notice this in #1755.

Testing

  • Builds on Linux (make release)
  • Builds on Windows (go build -out amazon-ecs-agent.exe ./agent)
  • Unit tests on Linux (make test) pass
  • Unit tests on Windows (go test -timeout=25s ./agent/...) pass
  • Integration tests on Linux (make run-integ-tests) pass
  • Integration tests on Windows (.\scripts\run-integ-tests.ps1) pass
  • Functional tests on Linux (make run-functional-tests) pass
  • Functional tests on Windows (.\scripts\run-functional-tests.ps1) pass

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.

@fenxiong fenxiong requested a review from a team December 28, 2018 23:53
@fenxiong fenxiong added this to the 1.24.0 milestone Dec 28, 2018
@fenxiong
Copy link
Contributor Author

Failing windows functional test TestOOMContainer tracked here: #1763

@fenxiong fenxiong merged commit 6d6cf04 into aws:dev Dec 31, 2018
@fenxiong fenxiong deleted the v1.24.0-fix branch December 31, 2018 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants