Skip to content

Commit 0758f0c

Browse files
author
Matthew Fisher
committed
Merge pull request #3261 from bacongobbler/switch-to-postgres-image
ref(controller): use postgres:9.3 for functional tests
2 parents e884fe0 + 922a66f commit 0758f0c

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)