upgrade mongo to 3.2.6

This commit is contained in:
Jose Diaz-Gonzalez
2016-05-06 14:15:31 -04:00
parent 41ad540b39
commit 6eba229b7f
4 changed files with 7 additions and 7 deletions

View File

@@ -11,20 +11,20 @@ teardown() {
@test "($PLUGIN_COMMAND_PREFIX:list) with no exposed ports, no linked apps" {
run dokku "$PLUGIN_COMMAND_PREFIX:list"
assert_contains "${lines[*]}" "l mongo:3.2.1 running - -"
assert_contains "${lines[*]}" "l mongo:3.2.6 running - -"
}
@test "($PLUGIN_COMMAND_PREFIX:list) with exposed ports" {
dokku "$PLUGIN_COMMAND_PREFIX:expose" l 4242 4243 4244 4245
run dokku "$PLUGIN_COMMAND_PREFIX:list"
assert_contains "${lines[*]}" "l mongo:3.2.1 running 27017->4242 27018->4243 27019->4244 28017->4245 -"
assert_contains "${lines[*]}" "l mongo:3.2.6 running 27017->4242 27018->4243 27019->4244 28017->4245 -"
}
@test "($PLUGIN_COMMAND_PREFIX:list) with linked app" {
dokku apps:create my_app
dokku "$PLUGIN_COMMAND_PREFIX:link" l my_app
run dokku "$PLUGIN_COMMAND_PREFIX:list"
assert_contains "${lines[*]}" "l mongo:3.2.1 running - my_app"
assert_contains "${lines[*]}" "l mongo:3.2.6 running - my_app"
dokku --force apps:destroy my_app
}