Skip to content

Commit

Permalink
Fix PackageUpgradeTests - v2 (#76259)
Browse files Browse the repository at this point in the history
Update to #76235
using the correct password this time.
  • Loading branch information
jkakavas authored Aug 10, 2021
1 parent ab30bb4 commit 81a230d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 81a230d

Please sign in to comment.