-
Notifications
You must be signed in to change notification settings - Fork 24.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test clusters ( was clusterformation ) - part 3 #33264
Test clusters ( was clusterformation ) - part 3 #33264
Commits on Jul 12, 2018
-
- This allows to move all all .java files from .groovy. - Will prevent eclipse from tangling up in this setup - make it possible to use Version from Java
Configuration menu - View commit details
-
Copy full SHA for 4b532c0 - Browse repository at this point
Copy the full SHA 4b532c0View commit details
Commits on Jul 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 506dfc8 - Browse repository at this point
Copy the full SHA 506dfc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 952af44 - Browse repository at this point
Copy the full SHA 952af44View commit details -
Cluster formation plugin with reference counting
``` > Task :plugins:ingest-user-agent:listElasticSearchClusters Starting cluster: myTestCluster * myTestCluster: /home/alpar/work/elastic/elasticsearch/plugins/ingest-user-agent/foo Asked to unClaimAndStop myTestCluster, since cluster still has 1 claim it will not be stopped > Task :plugins:ingest-user-agent:testme UP-TO-DATE Stopping myTestCluster, since no of claims is 0 ``` - Meant to auto manage the clusters lifecycle - Add integration test for cluster formation
Configuration menu - View commit details
-
Copy full SHA for cddb550 - Browse repository at this point
Copy the full SHA cddb550View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfc38a1 - Browse repository at this point
Copy the full SHA dfc38a1View commit details
Commits on Jul 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b01ed0e - Browse repository at this point
Copy the full SHA b01ed0eView commit details
Commits on Aug 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7ac5b7c - Browse repository at this point
Copy the full SHA 7ac5b7cView commit details
Commits on Aug 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f2fb450 - Browse repository at this point
Copy the full SHA f2fb450View commit details
Commits on Aug 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2d0e478 - Browse repository at this point
Copy the full SHA 2d0e478View commit details
Commits on Aug 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 938ef53 - Browse repository at this point
Copy the full SHA 938ef53View commit details
Commits on Aug 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a611747 - Browse repository at this point
Copy the full SHA a611747View commit details
Commits on Aug 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5483186 - Browse repository at this point
Copy the full SHA 5483186View commit details
Commits on Aug 23, 2018
-
Cluster formation plugin with reference counting
``` > Task :plugins:ingest-user-agent:listElasticSearchClusters Starting cluster: myTestCluster * myTestCluster: /home/alpar/work/elastic/elasticsearch/plugins/ingest-user-agent/foo Asked to unClaimAndStop myTestCluster, since cluster still has 1 claim it will not be stopped > Task :plugins:ingest-user-agent:testme UP-TO-DATE Stopping myTestCluster, since no of claims is 0 ``` - Meant to auto manage the clusters lifecycle - Add integration test for cluster formation
Configuration menu - View commit details
-
Copy full SHA for 121e025 - Browse repository at this point
Copy the full SHA 121e025View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9baed19 - Browse repository at this point
Copy the full SHA 9baed19View commit details -
Add an explicit dependency between tests of different versions
Without this the tasks from different version can be ordered randomly causing the snapshot test to fail ( i.e. creating snapshot for multiple versions in the same location ). Gradle happens to order them correctly when ran without "parallel" but switches up the ordering when not.
Configuration menu - View commit details
-
Copy full SHA for 8a4d21f - Browse repository at this point
Copy the full SHA 8a4d21fView commit details -
Gradle orders all celanups up-fron with --parallel
Rather than fighting it, move to do it right before the runner
Configuration menu - View commit details
-
Copy full SHA for da69766 - Browse repository at this point
Copy the full SHA da69766View commit details -
Configure depenedencies based on configuration
And check resulting artifact when starting up the cluster
Configuration menu - View commit details
-
Copy full SHA for ba4f4a9 - Browse repository at this point
Copy the full SHA ba4f4a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for de87e74 - Browse repository at this point
Copy the full SHA de87e74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2df0545 - Browse repository at this point
Copy the full SHA 2df0545View commit details -
Non working attempt to start ES with threads and Gradle exec
Seems this hoggs some internal Gradle file locks, and messes with Gradle's internals.
Configuration menu - View commit details
-
Copy full SHA for 6574f82 - Browse repository at this point
Copy the full SHA 6574f82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d44141 - Browse repository at this point
Copy the full SHA 4d44141View commit details -
Working ProcessBuilder based implementation to start cluster
To be able to use process builder, the min java version for build was bumped to 9.
Configuration menu - View commit details
-
Copy full SHA for df6a529 - Browse repository at this point
Copy the full SHA df6a529View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2a7810 - Browse repository at this point
Copy the full SHA d2a7810View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f03501 - Browse repository at this point
Copy the full SHA 2f03501View commit details -
Move build integration tests out of :buildSrc project
This way building buildSrc will not be delayed for all invocations, and will be less disruptive if integration tests fail
Configuration menu - View commit details
-
Copy full SHA for ea381b1 - Browse repository at this point
Copy the full SHA ea381b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64afbd0 - Browse repository at this point
Copy the full SHA 64afbd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ecae33 - Browse repository at this point
Copy the full SHA 5ecae33View commit details -
Imrooove documentation, various fixes
- support for multi project when not all projects apply the plugin. - add a test for it - only register task liseners once per build ( not once per project ) - make the node name safe for paths and cluster name, even if it has `:` or `#` ( will be replaced by `-`)
Configuration menu - View commit details
-
Copy full SHA for fc877d5 - Browse repository at this point
Copy the full SHA fc877d5View commit details -
Add cleanup hooks to make sure no processes survive the build
Clean up the processes after even after `^C` is pressed. The way Gradle does this is depending on the use of the Daemon, but for us, even with the Daemon interupting it does not work as it should and it eventually self terminates. The downside is that the ES processes will be cleaned up with a delay caused by Gradle trying and failing to clean up the Daemon.
Configuration menu - View commit details
-
Copy full SHA for af9c74f - Browse repository at this point
Copy the full SHA af9c74fView commit details -
Support closures as system props for testing
Allows to pass in closures that would evaluate at execution time.
Configuration menu - View commit details
-
Copy full SHA for 1ecb42f - Browse repository at this point
Copy the full SHA 1ecb42fView commit details -
Integrate the new clusterformation with plugin builds
Offers a way to test it with an actual build without affecting the status quo: `./gradlew ':modules:lang-painless:integTestRunner' -Dclusterformation=new -s -i` This won't work with all projects, as a number of features from the old cluster formationare not yet supported: - installing plugins - changing config - secure config - waiting for cluster to come up with security enabled It's still useful to make sure that the new plugin can work together with the build.
Configuration menu - View commit details
-
Copy full SHA for cc66d2f - Browse repository at this point
Copy the full SHA cc66d2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f7d46e - Browse repository at this point
Copy the full SHA 6f7d46eView commit details -
Configuration menu - View commit details
-
Copy full SHA for feac1f8 - Browse repository at this point
Copy the full SHA feac1f8View commit details -
Merge branch 'fix/30904-cluster-formation-part2' into fix/30904-clust…
…er-formation-part3
Configuration menu - View commit details
-
Copy full SHA for 28059d8 - Browse repository at this point
Copy the full SHA 28059d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a39b678 - Browse repository at this point
Copy the full SHA a39b678View commit details -
Configuration menu - View commit details
-
Copy full SHA for 594a9de - Browse repository at this point
Copy the full SHA 594a9deView commit details
Commits on Aug 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b6ead15 - Browse repository at this point
Copy the full SHA b6ead15View commit details -
Configuration menu - View commit details
-
Copy full SHA for f11fb2f - Browse repository at this point
Copy the full SHA f11fb2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcf35f - Browse repository at this point
Copy the full SHA 9bcf35fView commit details
Commits on Aug 27, 2018
-
Close all child processes on stop
cmd.exe on windows does not close it's children, so we clean up everything.
Configuration menu - View commit details
-
Copy full SHA for 9f7352e - Browse repository at this point
Copy the full SHA 9f7352eView commit details
Commits on Aug 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for bc8def8 - Browse repository at this point
Copy the full SHA bc8def8View commit details -
Configuration menu - View commit details
-
Copy full SHA for de13f67 - Browse repository at this point
Copy the full SHA de13f67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 656b155 - Browse repository at this point
Copy the full SHA 656b155View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c87326 - Browse repository at this point
Copy the full SHA 6c87326View commit details
Commits on Sep 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9ea7d92 - Browse repository at this point
Copy the full SHA 9ea7d92View commit details
Commits on Sep 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9a98434 - Browse repository at this point
Copy the full SHA 9a98434View commit details