Skip to content

Commit

Permalink
Removes surefire debug args and re-adds them to mvn runs, touches git…
Browse files Browse the repository at this point in the history
…lab as well
  • Loading branch information
scottopell committed Oct 19, 2023
1 parent f2bb0c9 commit 6815d08
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build_steps: &build_steps
steps:
- checkout
- setup_remote_docker
- run: echo $DEBUG && ./mvnw test -B -Dhttps.protocols=TLSv1.2 -X -Dcheckstyle.skip=true -Dtests.log_level=debug -Djdk.attach.allowAttachSelf=true -Dtest=TestReconnectContainer
- run: echo $DEBUG && ./mvnw -X test -B -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dtests.log_level=debug -Djdk.attach.allowAttachSelf=true -Dtest=TestReconnectContainer
- run:
when: on_fail
command: for log in target/surefire-reports/*.txt; do echo "$log ========================" ; cat $log ; done
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ run_unit_tests:
image: eclipse-temurin:8u382-b05-jdk

script:
- ./mvnw -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dtests.log_level=info -Djdk.attach.allowAttachSelf=true -B test
- ./mvnw -X -Dhttps.protocols=TLSv1.2 -Dcheckstyle.skip=true -Dtests.log_level=debug -Dtest=TestReconnectContainer -Djdk.attach.allowAttachSelf=true -B test

artifacts:
expire_in: 1 mos
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
<configuration>
<!-- allowAttachSelf required for tests in jdk9+ ref https://bugs.openjdk.org/browse/JDK-8180425 -->
<!-- rmi.server.hostname required for tests in some MacOS configurations -->
<argLine>-X --debug -Djdk.attach.allowAttachSelf=true -Djava.rmi.server.hostname=localhost</argLine>
<argLine>-Djdk.attach.allowAttachSelf=true -Djava.rmi.server.hostname=localhost</argLine>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion tools/misbehaving-jmx-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN mvn dependency:resolve

# Copy the source code and build the JAR file
COPY src/ /app/src/
RUN mvn clean package assembly:single
RUN mvn -X clean package assembly:single

RUN ls /app/target

Expand Down

0 comments on commit 6815d08

Please sign in to comment.