While migrating this job to Buildkite, I discovered that the tests are not actually running correctly in Jenkins.
The argument -Dgeoip_use_service=true is not being passed in correctly, so it's not being used. The result is that a fixture is being used when it shouldn't be.
To fix the argument in Jenkins, it can be changed to -Dtests.jvm.argline="-Dgeoip_use_service=true".
I've already changed this in Buildkite, but it causes the tests to start failing once they are executing correctly. I would suggest that whoever sorts out the tests also fixes the argument in Jenkins in the same PR.
While migrating this job to Buildkite, I discovered that the tests are not actually running correctly in Jenkins.
The argument
-Dgeoip_use_service=true
is not being passed in correctly, so it's not being used. The result is that a fixture is being used when it shouldn't be.To fix the argument in Jenkins, it can be changed to
-Dtests.jvm.argline="-Dgeoip_use_service=true"
.I've already changed this in Buildkite, but it causes the tests to start failing once they are executing correctly. I would suggest that whoever sorts out the tests also fixes the argument in Jenkins in the same PR.
Here is the result from the Buildkite build with the flag fixed.
./gradlew :modules:ingest-geoip:internalClusterTest -Dtests.jvm.argline="-Dgeoip_use_service=true"
to run them locally.