Skip to content

Commit a15fa05

Browse files
committed
Add test to provision new MP layers
1 parent edda967 commit a15fa05

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/features/galleon.feature

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
@jboss-eap-7 @jboss-eap-7-tech-preview
22
Feature: Openshift EAP galleon s2i tests
33

4+
Scenario: Test microprofile config.
5+
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
6+
| variable | value |
7+
| GALLEON_PROVISION_LAYERS | cloud-server,microprofile-openapi,microprofile-jwt,microprofile-fault-tolerance,-jpa,jpa-distributed,web-clustering |
8+
Then container log should contain WFLYSRV0025
9+
And check that page is served
10+
| property | value |
11+
| path | / |
12+
| port | 8080 |
13+
414
Scenario: Galleon provision cloud-server
515
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and true using master
616
| variable | value |
@@ -148,6 +158,8 @@ Feature: Openshift EAP galleon s2i tests
148158
Then file /opt/eap/.galleon/provisioning.xml should exist
149159
Then XML file /opt/eap/.galleon/provisioning.xml should contain value cloud-server on XPath //*[local-name()='installation']/*[local-name()='config']/*[local-name()='layers']/*[local-name()='include']/@name
150160

161+
# microprofile layer didn't make it in CD19
162+
@ignore
151163
Scenario: Test cloud-server,microprofile
152164
Given s2i build git://github.com/openshift/openshift-jee-sample from . with env and True using master
153165
| variable | value |
@@ -287,6 +299,8 @@ Feature: Openshift EAP galleon s2i tests
287299
Then XML file /opt/eap/.galleon/provisioning.xml should contain value observability on XPath //*[local-name()='installation']/*[local-name()='config']/*[local-name()='layers']/*[local-name()='include']/@name
288300
Then XML file /opt/eap/.galleon/provisioning.xml should contain value open-tracing on XPath //*[local-name()='installation']/*[local-name()='config']/*[local-name()='layers']/*[local-name()='exclude']/@name
289301

302+
# microprofile layer didn't make it in CD19
303+
@ignore
290304
Scenario: Test jaxrs-server+microprofile, exclude all mp layers.
291305
Given failing s2i build git://github.com/openshift/openshift-jee-sample from . using master
292306
| variable | value |

0 commit comments

Comments
 (0)