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

[Memcache] Improve tests and bug fixes #1490

Merged
merged 1 commit into from
Apr 2, 2015
Merged

[Memcache] Improve tests and bug fixes #1490

merged 1 commit into from
Apr 2, 2015

Conversation

remh
Copy link
Contributor

@remh remh commented Mar 31, 2015

  • 100% metrics and service check coverage
  • Add a default tag so that multi instances will work properly
  • Remove monkey patch as it’s not needed anymore (See comments about
    python-memcached version impacted here:
    d3bbd1ff561b3b2682ae79d308876
    a4910f9ff3b )
  • Flake 8

Also:

  • Add a helper in the AgentCheckTest class to determine if we’re
    running on travis or not
  • Add a helper to “reset” a check that may be useful sometimes

@remh remh added this to the 5.3.0 milestone Mar 31, 2015
@@ -120,6 +120,12 @@ def __init__(self, *args, **kwargs):

self.check = None

def reset(self):
self.check = None
Copy link
Member

Choose a reason for hiding this comment

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

@yannmh added force_reload in run_check could that be enough? Let's try to keep this class neat.

@LeoCavaille
Copy link
Member

Nice cleanup! 👍

- 100% metrics and service check coverage
- Add a default tag so that multi instances will work properly
- Remove monkey patch as it’s not needed anymore (See comments about
python-memcached version impacted here:
d3bbd1ff561b3b2682ae79d308876
a4910f9ff3b )
- Flake 8

Also:
- Add a helper in the AgentCheckTest class to determine if we’re
running on travis or not
@LeoCavaille
Copy link
Member

memcache tests succeded. I just fixed up your "Fix as per review" commit with the previous one to get a cleaner history 😉

git rebase -i master

LeoCavaille added a commit that referenced this pull request Apr 2, 2015
[Memcache] Improve tests and bug fixes
@LeoCavaille LeoCavaille merged commit 7f93d79 into master Apr 2, 2015
@LeoCavaille LeoCavaille deleted the remh/mcache branch April 2, 2015 22:24
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