Skip to content

Commit c11fa6c

Browse files
committed
upd
1 parent cca79ac commit c11fa6c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/src/test/java/org/elasticsearch/action/admin/cluster/snapshots/create/CreateSnapshotRequestTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void testToXContent() throws IOException {
7979
boolean defaultResolveAliasForThisRequest = original.indicesOptions().ignoreAliases() == false;
8080
original.indicesOptions(
8181
IndicesOptions.builder()
82-
.concreteTargetOptions(new IndicesOptions.ConcreteTargetOptions(randomBoolean(), randomBoolean()))
82+
.concreteTargetOptions(new IndicesOptions.ConcreteTargetOptions(randomBoolean(), false))
8383
.wildcardOptions(
8484
new IndicesOptions.WildcardOptions(
8585
randomBoolean(),

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,15 +1225,15 @@ public void testErrorMessageForUnknownIndex() {
12251225
expectThrows(
12261226
VerificationException.class,
12271227
containsString("Unknown index [no-such-index]"),
1228-
() -> run("from no-such-index", randomPragmas(), null, false)
1228+
() -> run(syncEsqlQueryRequest().query("from no-such-index").allowPartialResults(false))
12291229
);
12301230
}
12311231

12321232
public void testErrorMessageForUnknownIndexInPatternList() {
12331233
expectThrows(
12341234
VerificationException.class,
12351235
containsString("Unknown index [no-such-index]"),
1236-
() -> run("from test,no-such-index", randomPragmas(), null, false)
1236+
() -> run(syncEsqlQueryRequest().query("from test,no-such-index").allowPartialResults(false))
12371237
);
12381238
}
12391239

0 commit comments

Comments
 (0)