Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/integration/java_main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func testJavaMain(platform switchblade.Platform, fixtures string) func(*testing.

// Verify SAPMachine JRE was installed from manifest
Expect(logs.String()).To(ContainSubstring("Java Buildpack"))
Expect(logs.String()).To(ContainSubstring("Installing SAP Machine"))
Expect(logs.String()).To(ContainSubstring("Installing SapMachine"))
Expect(logs.String()).To(ContainSubstring("17."))
})
})
Expand Down
18 changes: 9 additions & 9 deletions src/integration/tomcat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,
Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing OpenJDK (8."))
Expect(logs.String()).To(ContainSubstring("Tomcat 9"))
Expect(logs.String()).To(ContainSubstring("Installed Tomcat (9."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})

Expand All @@ -185,7 +185,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,
Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing OpenJDK (11."))
Expect(logs.String()).To(ContainSubstring("Tomcat 9"))
Expect(logs.String()).To(ContainSubstring("Installed Tomcat (9."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})

Expand All @@ -198,7 +198,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,
Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing OpenJDK (17."))
Expect(logs.String()).To(ContainSubstring("Tomcat 9"))
Expect(logs.String()).To(ContainSubstring("Installed Tomcat (9."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})

Expand All @@ -224,7 +224,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,
Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing OpenJDK (11."))
Expect(logs.String()).To(ContainSubstring("Tomcat 10"))
Expect(logs.String()).To(ContainSubstring("Installed Tomcat (10."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})

Expand All @@ -237,7 +237,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,
Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing OpenJDK (17."))
Expect(logs.String()).To(ContainSubstring("Tomcat 10"))
Expect(logs.String()).To(ContainSubstring("Installed Tomcat (10."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})
})
Expand All @@ -258,7 +258,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,
Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing OpenJDK (17."))
Expect(logs.String()).To(ContainSubstring("Tomcat 10.1."))
Expect(logs.String()).To(ContainSubstring("Installed Tomcat (10.1."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})
})
Expand Down Expand Up @@ -371,7 +371,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,

Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing SAP Machine (17."))
Expect(logs.String()).To(ContainSubstring("Installing SapMachine (17."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})

Expand All @@ -384,7 +384,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,

Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing SAP Machine (21."))
Expect(logs.String()).To(ContainSubstring("Installing SapMachine (21."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})

Expand All @@ -397,7 +397,7 @@ func testTomcat(platform switchblade.Platform, fixtures string) func(*testing.T,

Expect(err).NotTo(HaveOccurred(), logs.String)

Expect(logs.String()).To(ContainSubstring("Installing SAP Machine (25."))
Expect(logs.String()).To(ContainSubstring("Installing SapMachine (25."))
Eventually(deployment).Should(matchers.Serve(ContainSubstring("OK")))
})
})
Expand Down