Skip to content

Commit

Permalink
updating tests based on ci.common changes
Browse files Browse the repository at this point in the history
Signed-off-by: Arun Venmany <[email protected]>
  • Loading branch information
arunvenmany-ibm committed Jan 9, 2025
1 parent abce4ba commit 770514a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public class TestSpringBootApplication30 extends AbstractIntegrationTest{
try {
BuildResult result = runTasksFailResult(buildDir, 'deploy', 'libertyStart')
String output = result.getOutput()
assertTrue(output.contains("Found multiple springBootApplication elements specified in the server configuration. Only one springBootApplication can be configured per Liberty server."))
assertTrue(output.contains("Found multiple springBootApplication elements specified in the server configuration file"))
} catch (Exception e) {
throw new AssertionError ("Fail on task deploy.", e)
}
Expand All @@ -221,7 +221,7 @@ public class TestSpringBootApplication30 extends AbstractIntegrationTest{
try {
BuildResult result = runTasksFailResult(buildDir, 'deploy', 'libertyStart')
String output = result.getOutput()
assertTrue(output.contains("Found multiple springBootApplication elements specified in the server configuration. Only one springBootApplication can be configured per Liberty server."))
assertTrue(output.contains("SpringBootApplication elements are specified in multiple server configuration files"))
} catch (Exception e) {
throw new AssertionError ("Fail on task deploy.", e)
}
Expand Down

0 comments on commit 770514a

Please sign in to comment.