Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Adds support for remote https integ tests #379

Merged
merged 9 commits into from
Jan 25, 2021

Conversation

dbbaughe
Copy link
Contributor

Issue #, if available:

Description of changes:
./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername=docker-cluster -Dhttps=true -Duser=admin -Dpassword=admin

Adds support for running integ tests against an https/security enabled remote cluster

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov
Copy link

codecov bot commented Jan 11, 2021

Codecov Report

Merging #379 (7adacf4) into master (0b4c8f2) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #379      +/-   ##
============================================
+ Coverage     76.53%   76.57%   +0.04%     
  Complexity     1462     1462              
============================================
  Files           188      188              
  Lines          7335     7335              
  Branches       1190     1190              
============================================
+ Hits           5614     5617       +3     
+ Misses         1077     1076       -1     
+ Partials        644      642       -2     
Impacted Files Coverage Δ Complexity Δ
...nt/indexstatemanagement/model/destination/Slack.kt 40.90% <0.00%> (-13.64%) 2.00% <0.00%> (-2.00%)
...anagement/indexstatemanagement/model/Transition.kt 67.69% <0.00%> (+4.61%) 5.00% <0.00%> (ø%)
...nt/indexstatemanagement/model/destination/Chime.kt 54.54% <0.00%> (+13.63%) 4.00% <0.00%> (+2.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b4c8f2...7adacf4. Read the comment docs.

qreshi
qreshi previously approved these changes Jan 12, 2021
thalurur
thalurur previously approved these changes Jan 12, 2021
@dbbaughe dbbaughe dismissed stale reviews from thalurur and qreshi via 6df2ec4 January 19, 2021 08:54
… the shard allocation between nodes is having issues with shards getting moved around as we are trying to force a job to run which causes the job to not run if we get unlucky. Before any job start time gets updated now we first ensure no shards are being moved around.
@@ -121,7 +123,7 @@ class RollupRunnerIT : RollupRestTestCase() {
// Update rollup start time to run second execution
updateRollupStartTime(rollup)

waitFor {
waitFor(Instant.ofEpochSecond(20)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NP: Can remove these explicit Instant.ofEpochSecond(20) since default timeout of waitFor is now 20 seconds.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants