This is an automated email from the ASF dual-hosted git repository.

mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new a52bee6  exile job for unreliable tests.
     new 0876224  Merge pull request #3781 from mbien/exile-tests
a52bee6 is described below

commit a52bee68ece95a1de9db19a55b4d75b4ca320224
Author: Michael Bien <[email protected]>
AuthorDate: Tue Mar 15 01:55:25 2022 +0100

    exile job for unreliable tests.
---
 .travis.yml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8990b0c..2c0af82 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -357,7 +357,6 @@ matrix:
             - hide-logs.sh ant $OPTS -f java/debugger.jpda.js test
             - hide-logs.sh ant $OPTS -f java/debugger.jpda.projects test
             - hide-logs.sh ant $OPTS -f java/debugger.jpda.projectsui test
-            - hide-logs.sh ant $OPTS -f java/gradle.java test
             #- ant $OPTS -f java/debugger.jpda.truffle test
             #- ant $OPTS -f java/debugger.jpda.ui test
             - travis_wait hide-logs.sh ant $OPTS -f java/editor.htmlui test
@@ -369,7 +368,6 @@ matrix:
             #- ant $OPTS -f java/java.kit test
             #- ant $OPTS -f java/java.lexer test
             #- ant $OPTS -f java/java.lexer test
-            - ant $OPTS -f java/java.lsp.server test
             #- ant $OPTS -f java/java.metrics test
             - ant $OPTS -f java/java.module.graph test
             - ant $OPTS -f java/java.navigation test
@@ -723,6 +721,18 @@ matrix:
             - export JAVA_HOME=$TEST_JDK
             - hide-logs.sh ant $OPTS commit-validation
 
+#   exile: for tests which don't behave. Job should be kept short to be easily 
restartable
+        - name: Test unreliable tests on Java 8
+          jdk: openjdk8
+          env:
+            - 
OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
 -quiet -Dcluster.config=java -Djavac.compilerargs=-nowarn 
-Dbuild.compiler.deprecation=false 
-Dtest-unit-sys-prop.ignore.random.failures=true"
+          before_script:
+            - nbbuild/travis/ant.sh $OPTS clean
+            - nbbuild/travis/ant.sh $OPTS build
+          script:
+            - travis_retry ant $OPTS -f java/java.lsp.server test
+            - travis_retry hide-logs.sh ant $OPTS -f java/gradle.java test
+
 after_failure:
   - nbbuild/travis/print-junit-report.sh
   - sleep 3

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to