Skip to content

Commit a50f987

Browse files
author
Gabriel Monroy
committed
Merge pull request #2037 from gabrtv/fix-controller-test
fix(tests): mock postgresql should wait until initialization complete
2 parents ef8e07e + b989ab7 commit a50f987

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/mock/mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func RunMockDatabase(t *testing.T, tag string, etcdPort string, dbPort string) {
3333
dbImage)
3434
}()
3535
time.Sleep(1000 * time.Millisecond)
36-
dockercli.PrintToStdout(t, stdout, stdoutPipe, "Starting")
36+
dockercli.PrintToStdout(t, stdout, stdoutPipe, "Initialization complete.")
3737
setkeys := []string{
3838
"/deis/database/user",
3939
"/deis/database/password",

0 commit comments

Comments
 (0)