Skip to content

Commit

Permalink
temporarily fix the test
Browse files Browse the repository at this point in the history
Signed-off-by: Gilbert Kwan <[email protected]>
  • Loading branch information
gkwan-ibm committed Oct 29, 2024
1 parent 3874745 commit c274d98
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
6 changes: 6 additions & 0 deletions finish/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@
<artifactId>liberty-maven-plugin</artifactId>
<version>3.11.1</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.0</version>
</plugin>
</plugins>
</build>
</project>
16 changes: 1 addition & 15 deletions scripts/testApp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,13 @@ set -euxo pipefail
##
##############################################################################

mvn -version

mvn -ntp -Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
-ntp -q clean package
echo unit test
mvn test
mvn -ntp -Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
-ntp -q liberty:create liberty:install-feature liberty:deploy
-ntp -q clean package liberty:create liberty:install-feature liberty:deploy

mvn -ntp liberty:start

# need to re-enable the integration-test
#mvn -Dhttp.keepAlive=false \
# -Dmaven.wagon.http.pool=false \
# -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
# -ntp failsafe:integration-test

# check the messages.log
# check the url

Expand Down
6 changes: 6 additions & 0 deletions start/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@
<artifactId>liberty-maven-plugin</artifactId>
<version>3.11.1</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.0</version>
</plugin>
</plugins>
</build>
</project>

0 comments on commit c274d98

Please sign in to comment.