We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d67d72 commit 2674ab6Copy full SHA for 2674ab6
1 file changed
src/python/brats/brats_test.go
@@ -42,7 +42,13 @@ var _ = Describe("Python buildpack", func() {
42
)
43
})
44
By("supports mysql by raising a no connection error", func() {
45
- Expect(app.GetBody("/mysql")).To(ContainSubstring("Can't connect to local MySQL server through socket"))
+ Expect(app.GetBody("/mysql")).To(
46
+ Or(
47
+ // cflinuxfs3 and cflinuxfs4 have different messages for the same error.
48
+ ContainSubstring("Can't connect to local MySQL server through socket"),
49
+ ContainSubstring("Can't connect to local server through socket"),
50
+ ),
51
+ )
52
53
By("supports loading and running the hiredis lib", func() {
54
Expect(app.GetBody("/redis")).To(ContainSubstring("Hello"))
0 commit comments