Skip to content

Commit

Permalink
Removed AMQ tests moved to image repositories, make the other test ge…
Browse files Browse the repository at this point in the history
…neric
  • Loading branch information
goldmann committed Nov 22, 2017
1 parent 9bec944 commit ab9e755
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions tests/features/amq/6.2/amq.feature
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
@jboss-amq-6/amq62-openshift
Feature: Openshift AMQ tests

Scenario: check that container is started correctly
When container is ready
Then container log should contain INFO | Apache ActiveMQ 5.11.0.redhat-621211
And check that port 61616 is open

Scenario: Check that the labels are correctly set
Given image is built
Then the image should contain label com.redhat.component with value jboss-amq-6-amq62-openshift-docker
And the image should contain label name with value jboss-amq-6/amq62-openshift

# https://issues.jboss.org/browse/CLOUD-180
Scenario: Check if image version and release is printed on boot
When container is ready
Then container log should contain Running jboss-amq-6/amq62-openshift image, version

Scenario: Check that the readinessProbe correctly identifies the transport ports
When container is started with env
| variable | value |
Expand All @@ -25,7 +10,7 @@ Feature: Openshift AMQ tests
| AMQ_KEYSTORE_PASSWORD | password |
| AMQ_TRUSTSTORE | broker.ts |
| AMQ_TRUSTSTORE_PASSWORD | password |
Then container log should contain INFO | Apache ActiveMQ 5.11.0.redhat-621211
Then container log should contain INFO | Apache ActiveMQ
And check that port 61616 is open
Then run sh -c '/opt/amq/bin/readinessProbe.sh 1 1 true && echo all good' in container and check its output for all good
Then file /tmp/readiness-log should contain openwire port 61616
Expand Down

0 comments on commit ab9e755

Please sign in to comment.