Skip to content

Commit 00147b3

Browse files
committed
[CLOUD-3499] Test case we do not see WFLYCTL0056 after CLI server configuration during S2I
1 parent ec75826 commit 00147b3

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
S2I_IMAGE_SOURCE_MOUNTS=extensions
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
embed-server --std-out=echo --server-config=standalone-openshift.xml
2+
/system-property=foo:add(value=bar)
3+
stop-embedded-server
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
set -x
3+
echo "Running $PWD/install.sh"
4+
5+
injected_dir=$1
6+
${JBOSS_HOME}/bin/jboss-cli.sh --file=${injected_dir}/extension.cli

tests/features/s2i.feature

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,9 @@ Feature: Openshift EAP s2i tests
142142
| variable | value |
143143
| MAVEN_SETTINGS_XML | /home/jboss/../jboss/../jboss/.m2/settings.xml |
144144
Then s2i build log should contain /home/jboss/../jboss/../jboss/.m2/settings.xml
145+
Then container log should contain WFLYSRV0025
146+
147+
Scenario: Test embedded server configuration during S2I
148+
Given s2i build git://github.com/jboss-container-images/jboss-eap-modules from tests/examples/test-embedded-at-s2i with env and true using master
149+
Then container log should not contain WFLYCTL0056
145150
Then container log should contain WFLYSRV0025

0 commit comments

Comments
 (0)