mercredi 27 juillet 2016

Gradle executes different set of unit tests in different environments

I have a (rather big) project with multiple suprojects, all build with Gradle. I've noticed that Gradle runs a different set of unit tests when run locally (on dev laptop), and different on the official Jenkins build server:

> cat test.log.local.txt | grep "<long regexp>" | wc -l
2781
> cat test.log.jenkins.txt | grep "<long regexp>" | wc -l
2795

It is not a surprise, that tests that run on Jenkins, fail.

Does anyone has a clue why Gradle selects a different set of tests on different machines?

Aucun commentaire:

Enregistrer un commentaire