vieiro commented on a change in pull request #3781:
URL: https://github.com/apache/netbeans/pull/3781#discussion_r827216128
##########
File path: .travis.yml
##########
@@ -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
Review comment:
I see. "hide-logs.sh" is quite useful, I think.
Regarding retries: if tests are reliable there's no need to retry them,
right? :-).
I think we should try to achieve a "Green Travis" ASAP, no need to wait por
PRs. There're system-wide refactorings taking place, and we have no safety net.
But maybe we want to discuss in the dev mailing list before merging.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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