File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,13 @@ var _ = Describe("Python buildpack", func() {
3333 Expect (bcrypt .CompareHashAndPassword ([]byte (hashedPassword ), []byte ("Hello, bcrypt" ))).ToNot (HaveOccurred ())
3434 })
3535 By ("supports postgres by raising a no connection error" , func () {
36- Expect (app .GetBody ("/pg" )).To (ContainSubstring ("could not connect to server: No such file or directory" ))
36+ Expect (app .GetBody ("/pg" )).To (
37+ Or (
38+ // cflinuxfs3 and cflinuxfs4 have different messages for the same error.
39+ ContainSubstring ("could not connect to server: No such file or directory" ),
40+ ContainSubstring ("failed: No such file or directory" ),
41+ ),
42+ )
3743 })
3844 By ("supports mysql by raising a no connection error" , func () {
3945 Expect (app .GetBody ("/mysql" )).To (ContainSubstring ("Can't connect to local MySQL server through socket" ))
You can’t perform that action at this time.
0 commit comments