Skip to content

Commit

Permalink
Fix PackageUpgradeTests - v2
Browse files Browse the repository at this point in the history
Update to elastic#76235
using the correct password this time.
jkakavas committed Aug 9, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent c7516b3 commit 5117c4d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -90,11 +90,11 @@ public void test21CheckUpgradedVersion() throws Exception {
private void assertDocsExist() throws Exception {
// We can properly handle this as part of https://github.com/elastic/elasticsearch/issues/75940
// For now we can use elastic with "keystore.seed" as we set it explicitly in PackageUpgradeTests#test11ModifyKeystore
String response1 = makeRequest(Request.Get("http://localhost:9200/library/_doc/1?pretty"), "elastic", "keystore.seed", null);
String response1 = makeRequest(Request.Get("http://localhost:9200/library/_doc/1?pretty"), "elastic", "keystore_seed", null);
assertThat(response1, containsString("Elasticsearch"));
String response2 = makeRequest(Request.Get("http://localhost:9200/library/_doc/2?pretty"), "elastic", "keystore.seed", null);
String response2 = makeRequest(Request.Get("http://localhost:9200/library/_doc/2?pretty"), "elastic", "keystore_seed", null);
assertThat(response2, containsString("World"));
String response3 = makeRequest(Request.Get("http://localhost:9200/library2/_doc/1?pretty"), "elastic", "keystore.seed", null);
String response3 = makeRequest(Request.Get("http://localhost:9200/library2/_doc/1?pretty"), "elastic", "keystore_seed", null);
assertThat(response3, containsString("Darkness"));
}
}

0 comments on commit 5117c4d

Please sign in to comment.