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

More tests for docker integration #257

Merged
merged 1 commit into from
Jun 18, 2015

Conversation

tomwilkie
Copy link
Contributor

Fixes #237

  • Move docker probe code into it's own module
  • Put PIDTree behind an interface for mocking
  • Disaggregate dockerTagger into a registry, tagger and reporter
  • Similarly disaggregate tests
  • Add mocks for docker container and registry
  • Add test for docker events.

@tomwilkie tomwilkie force-pushed the 237-docker-tests branch 3 times, most recently from 5043342 to 0e6f22d Compare June 18, 2015 16:22
@tomwilkie tomwilkie changed the title WIP More tests for docker integration More tests for docker integration Jun 18, 2015

// Stop stops the Docker tagger's event subscriber.
func (r *registry) Stop() {
close(r.quit)

This comment was marked as abuse.

This comment was marked as abuse.

- Move docker probe code into it's own module
- Put PIDTree behind and interface for mocking
- Disaggregate dockerTagger into a registry, tagger and reporter
- Similarly disaggregate tests
- Add mocks for docker container and registry
- Add test for docker events & stats
@paulbellamy
Copy link
Contributor

LGTM, then

tomwilkie added a commit that referenced this pull request Jun 18, 2015
More tests for docker integration
@tomwilkie tomwilkie merged commit e8a9c3c into weaveworks:master Jun 18, 2015
@tomwilkie tomwilkie deleted the 237-docker-tests branch June 18, 2015 17:17
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.

2 participants