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

Juju uses mongo 3.2 on xenial; fix upgrade mongo tests #4715

Merged
merged 1 commit into from Apr 5, 2016

Conversation

wallyworld
Copy link
Member

On xenial juju will attempt to install mongo 3.2 and use that. Previously 3.0 was used. Wired tiger is used on all architectures by default so some tests needed changing to match.
Part of the implementation cleaned up a bit how the mongo paths are managed.

This work will land once mongo3.2 is packaged for xenial.

Once mongo3.2 is backported to trusty, juju will need to be updated again to use mongo3.2 on trusty.

It was discovered that the upgrade mongo tests were, um, "not optimally implemented". They used a hard coded retry strategy that caused some tests to take 60s to run. The tests are re-written to use the retry package and sensible test defaults. The tests are now fast.

(Review request: http://reviews.vapour.ws/r/4153/)

@cherylj
Copy link

cherylj commented Apr 5, 2016

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Apr 5, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot
Copy link
Collaborator

jujubot commented Apr 5, 2016

Build failed: Generating tarball failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/7188

cherylj pushed a commit to cherylj/juju that referenced this pull request Apr 5, 2016
mongo/mongo.go was missing some whitespace and it
made go fmt sad (which prevented me from merging
wallyworld's PR:  juju#4715
@cherylj
Copy link

cherylj commented Apr 5, 2016

Had to fix some go fmt issues, so using PR: #4997 for merging this change.

@jujubot jujubot merged commit c741769 into juju:master Apr 5, 2016
jujubot added a commit that referenced this pull request Apr 5, 2016
Merge mongo 3.2 PR from wallyworld

This PR merges wallyworld's already reviewed PR: #4715

But now with extra go fmt happiness (whitespace change, self-reviewed)

(Review request: http://reviews.vapour.ws/r/4436/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants