Skip to content

Commit

Permalink
Check that WildFly is running in CI tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
  • Loading branch information
jmesnil committed Aug 16, 2023
1 parent c366b2c commit 86a6844
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ jobs:
run: |-
cd wildfly-jakartaee-webapp-archetype/testing
$JBOSS_HOME/bin/standalone.sh &
sleep 20
until `$JBOSS_HOME/bin/jboss-cli.sh -c ":read-attribute(name=server-state)" 2> /dev/null | grep -q running`; do
sleep 1
done
./runtest_remote.sh $ARCHETYPE_VERSION
$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
echo "### Remote Tests :white_check_mark:" >> $GITHUB_STEP_SUMMARY
Expand All @@ -73,7 +77,11 @@ jobs:
run: |-
cd wildfly-jakartaee-ear-archetype/testing
$JBOSS_HOME/bin/standalone.sh &
sleep 20
until `$JBOSS_HOME/bin/jboss-cli.sh -c ":read-attribute(name=server-state)" 2> /dev/null | grep -q running`; do
sleep 1
done
./runtest_remote.sh $ARCHETYPE_VERSION
$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
echo "### Remote Tests :white_check_mark:" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 86a6844

Please sign in to comment.