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

[riak] add integration test #1499

Merged
merged 1 commit into from
Apr 7, 2015
Merged

[riak] add integration test #1499

merged 1 commit into from
Apr 7, 2015

Conversation

degemer
Copy link
Member

@degemer degemer commented Apr 1, 2015

  • build Riak from source (two riaks to be precise, to be able to build a
    cluster)
  • add custom tags to Riak check + usual pep8
  • add a new test for Riak

And also: delete rotated log before caching

@degemer degemer force-pushed the quentin/test_riak branch 2 times, most recently from f53915f to 61b2634 Compare April 1, 2015 19:16
@degemer degemer changed the title [riak] test install on Travis [riak] add integration test Apr 1, 2015
@degemer degemer force-pushed the quentin/test_riak branch from 61b2634 to 25df38f Compare April 1, 2015 19:31
@degemer degemer added this to the 5.3.0 milestone Apr 1, 2015
require './ci/common'

def riak_version
ENV['COUCHDB_VERSION'] || '2.0.5'
Copy link
Member Author

Choose a reason for hiding this comment

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

Just realize that I (again) left a bad c/p, will update after review.

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, fixed.

@degemer degemer force-pushed the quentin/test_riak branch 2 times, most recently from 993db2c to 036a03c Compare April 3, 2015 15:55
for gauge in self.CHECK_GAUGES + self.CHECK_GAUGES_STATS:
self.assertMetric(gauge, count=1, tags=tags)

self.assertServiceCheckOK(self.check.SERVICE_CHECK_NAME,
Copy link
Member

Choose a reason for hiding this comment

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

You should explicitly write the service check name here so that the test fails if someone mistakenly changes it.

@LeoCavaille
Copy link
Member

Also @degemer can you rebase, it's probably a simple Rakefile conflict.

@LeoCavaille LeoCavaille self-assigned this Apr 7, 2015
@degemer degemer force-pushed the quentin/test_riak branch from 036a03c to 9209362 Compare April 7, 2015 14:23
@degemer
Copy link
Member Author

degemer commented Apr 7, 2015

Thanks @LeoCavaille ! Changes made, it should be ready. 💪

@degemer degemer force-pushed the quentin/test_riak branch from 9209362 to c7dbb7d Compare April 7, 2015 15:19
* build Riak from source (two riaks to be precise, to be able to build a
  cluster)
* add custom tags to Riak check + usual pep8
* add a new test for Riak
* do not run test on Travis if not able to use the cache
And also: delete rotated log before caching
@degemer degemer force-pushed the quentin/test_riak branch from c7dbb7d to a496053 Compare April 7, 2015 16:00
@LeoCavaille
Copy link
Member

nice, thanks 👍

LeoCavaille added a commit that referenced this pull request Apr 7, 2015
@LeoCavaille LeoCavaille merged commit f79d93d into master Apr 7, 2015
@LeoCavaille LeoCavaille deleted the quentin/test_riak branch April 7, 2015 17:07
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling a496053 on quentin/test_riak into ** on master**.

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

Successfully merging this pull request may close these issues.

3 participants