upgrade postgres to 9.5.2

This commit is contained in:
Jose Diaz-Gonzalez
2016-05-06 14:11:51 -04:00
parent effff688f8
commit dbd2ef36c0
4 changed files with 9 additions and 9 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 postgres:9.5.0 running - -"
assert_contains "${lines[*]}" "l postgres:9.5.2 running - -"
}
@test "($PLUGIN_COMMAND_PREFIX:list) with exposed ports" {
dokku "$PLUGIN_COMMAND_PREFIX:expose" l 4242
run dokku "$PLUGIN_COMMAND_PREFIX:list"
assert_contains "${lines[*]}" "l postgres:9.5.0 running 5432->4242 -"
assert_contains "${lines[*]}" "l postgres:9.5.2 running 5432->4242 -"
}
@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 postgres:9.5.0 running - my_app"
assert_contains "${lines[*]}" "l postgres:9.5.2 running - my_app"
dokku --force apps:destroy my_app
}