Skip to content

Commit 1d20351

Browse files
committed
fix(tests): use our own fork of postgresql container for testing
We had been using paintedfox/postgresql directly from the Docker Hub, the reasoning being that using a container other than deis/database keeps the functional tests more honest. Instead, use a container from a forked repo, so we can control changes to it.
1 parent f0a8fd7 commit 1d20351

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/bin/prime-docker-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ docker pull deis/base:latest
1515
docker pull deis/slugbuilder:latest
1616
docker pull deis/slugrunner:latest
1717
docker pull deis/test-etcd:latest
18-
docker pull paintedfox/postgresql:latest
18+
docker pull deis/test-postgresql:latest

tests/mock/mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func RunMockDatabase(t *testing.T, uid string, etcdPort string, dbPort string) {
1616
var err error
1717
cli, stdout, stdoutPipe := dockercli.GetNewClient()
1818
done := make(chan bool, 1)
19-
dbImage := "paintedfox/postgresql:latest"
19+
dbImage := "deis/test-postgresql:latest"
2020
ipaddr := utils.GetHostIPAddress()
2121
done <- true
2222
go func() {

0 commit comments

Comments
 (0)