Disable integTest when Docker is not available#40585
Disable integTest when Docker is not available#40585jkakavas merged 2 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/es-core-infra |
| } | ||
| } | ||
| // Don't attempt to run integTest when Docker is not available | ||
| integTest.enabled = idpFixtureProject.postProcessFixture.enabled |
There was a problem hiding this comment.
With #40297 the test fixture plugin will do this automatically, but I think you're problem is with setupPorts because the plugin doesn't know about that and it will run when there's no docker and thus no ports, so I think that also needs to be disabled here.
For a more generic solution I think we need the plugin to add a postProcessFixture task on the projects that use the fixture, and properly disable it when there's no docker, so you could add a doLast to it here instead of defining a new task.
There was a problem hiding this comment.
so I think that also needs to be disabled here.
Great, I didn't see that in #40297 , will change this solution
|
thanks for fixing this @jkakavas |
* master: (25 commits) [DOCS] Correct keystore commands for Email and Jira actions in Watcher (elastic#40417) [DOCS] Document common settings for snapshot repository plugins (elastic#40475) Remove with(out)-system-key tests (elastic#40547) Geo Point parse error fix (elastic#40447) Handle null retention leases in WaitForNoFollowersStep (elastic#40477) [DOCS] Adds anchors for ruby client (elastic#39867) Mute DataFrameAuditorIT#testAuditorWritesAudits Disable integTest when Docker is not available (elastic#40585) Add randomScore function in script_score query (elastic#40186) Test fixtures krb5 (elastic#40297) Correct ILM metadata minimum compatibility version (elastic#40569) SQL: Centralize SQL test dependencies version handling (elastic#40551) Mute testTracerLog Mute testHttpInput Include functions' aliases in the list of functions (elastic#40584) Optimise rejection of out-of-range `long` values (elastic#40325) Add docs for cluster.remote.*.proxy setting (elastic#40281) Migrate systemd packaging tests from bats to java (elastic#39954) Move top-level pipeline aggs out of QuerySearchResult (elastic#40319) Use openjdk 12 in packer cache script (elastic#40498) ...
* Disable integTest when Docker is not available Resolves: #40549
* Disable integTest when Docker is not available Resolves: #40549
* Disable integTest when Docker is not available Resolves: #40549
* elastic/7.0: (50 commits) Fix more broken links in plugins docs Fix archives links in plugins docs Disable integTest when Docker is not available (elastic#40585) Add docs for bundled jdk (elastic#40487) [DOCS] Correct keystore commands for Email and Jira actions in Watcher (elastic#40417) (elastic#40613) Add usage indicators for the bundled JDK (elastic#40616) Add ability to mute and mute flaky fixture (elastic#40630) Test fixtures krb5 (elastic#40297) Update docs for the DFR similarity (elastic#40579) Update ingest jdocs that a null return value will drop the current document. (elastic#40359) [DOCS] Document common settings for snapshot repository plugins (elastic#40475) (elastic#40607) [DOCS] Fixes formatting in breaking changes Handle null retention leases in WaitForNoFollowersStep (elastic#40477) Correct ILM metadata minimum compatibility version (elastic#40569) Mute SpecificMasterNodesIT.testElectOnlyBetweenMasterNodes() Mute testHttpInput Include functions' aliases in the list of functions (elastic#40584) Optimise rejection of out-of-range `long` values (elastic#40325) Add docs for cluster.remote.*.proxy setting (elastic#40281) Mute WatchAckTests.testAckAllActions ...
Resolves: #40549
Depends on: #40297