Skip to content

Commit 922a66f

Browse files
author
Matthew Fisher
committed
ref(controller): use postgres:9.3 for functional tests
We've found this image to be more reliable than paintedfox/test-postgresql.
1 parent 8826c83 commit 922a66f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

tests/mock/mock.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ func RunMockDatabase(t *testing.T, tag string, etcdPort string, dbPort string) {
2727
"--name", "deis-test-database-"+tag,
2828
"--rm",
2929
"-p", dbPort+":5432",
30-
"-e", "EXTERNAL_PORT="+dbPort,
31-
"-e", "HOST="+ipaddr,
32-
"-e", "USER=deis",
33-
"-e", "DB=deis",
34-
"-e", "PASS=deis",
30+
"-e", "POSTGRES_USER=deis",
31+
"-e", "POSTGRES_DB=deis",
32+
"-e", "POSTGRES_PASSWORD=deis",
3533
dbImage)
3634
}()
3735
time.Sleep(1000 * time.Millisecond)

0 commit comments

Comments
 (0)