x-pack tests should use servers from other config files already loaded#22739
Merged
LeeDr merged 2 commits intoelastic:masterfrom Sep 6, 2018
Merged
x-pack tests should use servers from other config files already loaded#22739LeeDr merged 2 commits intoelastic:masterfrom
LeeDr merged 2 commits intoelastic:masterfrom
Conversation
Contributor
💚 Build Succeeded |
LeeDr
pushed a commit
to LeeDr/kibana
that referenced
this pull request
Sep 6, 2018
elastic#22739) * x-pack tests should use servers from other config files already loaded * Fix es_test_config that was using TEST_KIBANA_USERNAME/PASSWORD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes the ability to use the combined environment variables
TEST_ES_URLandTEST_KIBANA_URLfor x-pack tests.For example (from x-pack directory);
TEST_ES_URL=https://superuser:changeme@78cfe1f850064a5d9556fdfde8033078.us-central1.gcp.foundit.no:9243 TEST_KIBANA_URL=https://superuser:changeme@494f3c4adfc541d99dac1488df3271f5.us-central1.gcp.foundit.no:9243 node ../scripts/functional_test_runner.js --debug
You can also still use the individual environment variables as described in https://www.elastic.co/guide/en/kibana/current/development-functional-tests.html#_running_functional_tests