Skip to content

Commit 4c052ec

Browse files
committed
fix test
1 parent 9b40f1d commit 4c052ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public void testTopNTwiceThenEnrichRemote() {
456456
""", enrichHosts(Enrich.Mode.REMOTE));
457457
// This is currently not supported, because we can not handle double topN with remote enrich
458458
var error = expectThrows(VerificationException.class, () -> runQuery(query, randomBoolean()).close());
459-
assertThat(error.getMessage(), containsString("Physical plan contains remote executing operation [EnrichExec] in local part"));
459+
assertThat(error.getMessage(), containsString("ENRICH with remote policy can't be executed after [SORT timestamp]"));
460460
}
461461

462462
public void testLimitThenEnrichRemote() {

0 commit comments

Comments
 (0)