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

Telemetry test #357

Closed
wants to merge 17 commits into from
Closed

Telemetry test #357

wants to merge 17 commits into from

Conversation

richardpen
Copy link

Added telemetry functional test.

danielrowles-wf and others added 17 commits March 4, 2016 15:33
… response

to a "docker exec". Update the event handling code to ignore these.
…askArn

Extend the TaskEngine interface with the GetTaskByArn method
…nielrowles-wf/amazon-ecs-agent into danielrowles-wf-ignore-docker-1.8.3-exec-events
Sharing an instance of TestTime shares state across tests (things that
called Sleep() or AfterFunc()). Switching to a per-test instance
reduces shared state and seems to make TestSweepContainer more stable
(at least on my computer).
This test is only reliable when the kernel properly supports memory and
swap limits.  If you try to limit memory on a system where the kernel
does not support swap limits, the container can continue to use memory
in swap well beyond the expected timeout of the test.  If your system
does not support swap limits, you'll see a message like the following
when running a container with a memory limit:

WARNING: Your kernel does not support swap limit capabilities, memory limited without swap.

Note that you should not disable this test by default.
Starting with Docker 1.7.0, a `kill` event is emitted by the daemon on
any signal sent to the container, rather than just on SIGKILL. In
testing different Docker versions, a `die` event is emitted on all
container exits (both Docker-initiated and container-initiated)
and is a more reliable indicator.

See aws#335
@samuelkarp
Copy link
Contributor

Can you recreate this against the dev branch? You've accumulated a bunch of unrelated changes in this request.

@samuelkarp samuelkarp closed this Mar 30, 2016
edibble21 pushed a commit to edibble21/amazon-ecs-agent that referenced this pull request Jul 9, 2021
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.

5 participants