Skip to content

Commit

Permalink
fix more rando test failures
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Walter Knize <[email protected]>
  • Loading branch information
nknize committed Feb 23, 2022
1 parent 68e1f0d commit c58d994
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
bulk:
refresh: true
body: |
{"index": {"_index": "test_1", "_type": "_doc", "_id": 1}}
{"index": {"_index": "test_1", "_id": 1}}
{ "foo": "bar" }
{"index": {"_index": "test_2", "_type": "_doc", "_id": 2}}
{"index": {"_index": "test_2", "_id": 2}}
{ "foo": "bar" }
{"index": {"_index": "test_3", "_type": "_doc", "_id": 3}}
{"index": {"_index": "test_3", "_id": 3}}
{ "foo": "bar" }
- do:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ public void testFailureToAndFromXContentWithDetails() throws IOException {
failure = new RuntimeException("E", failureCause);

expectedCause = new OpenSearchException(
"OpenSearch exception [type=routing_missing_exception, " + "reason=routing is required for [idx]/[type]/[id]]"
"OpenSearch exception [type=routing_missing_exception, " + "reason=routing is required for [idx]/[id]]"
);
expectedCause.addMetadata("opensearch.index", "idx");
expectedCause.addMetadata("opensearch.index_uuid", "_na_");
Expand Down

0 comments on commit c58d994

Please sign in to comment.