Skip to content

Commit 078c642

Browse files
committed
test fix
1 parent 4877657 commit 078c642

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import static org.hamcrest.Matchers.hasSize;
2828
import static org.hamcrest.Matchers.not;
2929

30-
@TestLogging(value = "org.elasticsearch.xpack.esql.session:DEBUG", reason = "to better understand planning")
3130
public class CrossClusterLookupJoinFailuresIT extends AbstractCrossClusterTestCase {
3231
protected boolean reuseClusters() {
3332
return false;

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest;
1111
import org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequestBuilder;
1212
import org.elasticsearch.client.internal.Client;
13-
import org.elasticsearch.test.junit.annotations.TestLogging;
1413
import org.elasticsearch.xpack.core.enrich.EnrichPolicy;
1514
import org.elasticsearch.xpack.core.enrich.action.ExecuteEnrichPolicyAction;
1615
import org.elasticsearch.xpack.core.enrich.action.PutEnrichPolicyAction;
@@ -31,7 +30,7 @@
3130
import static org.hamcrest.Matchers.hasSize;
3231
import static org.hamcrest.Matchers.not;
3332

34-
@TestLogging(value = "org.elasticsearch.xpack.esql.session:DEBUG", reason = "to better understand planning")
33+
// @TestLogging(value = "org.elasticsearch.xpack.esql.session:DEBUG", reason = "to better understand planning")
3534
public class CrossClusterLookupJoinIT extends AbstractCrossClusterTestCase {
3635

3736
public void testLookupJoinAcrossClusters() throws IOException {
@@ -330,7 +329,9 @@ public void testLookupJoinIndexMode() throws IOException {
330329
var failure = remoteCluster.getFailures().get(0);
331330
assertThat(
332331
failure.reason(),
333-
containsString("invalid [cluster-a:values_lookup] resolution in lookup mode to an index in [standard] mode")
332+
containsString(
333+
"Lookup Join requires a single lookup mode index; [values_lookup] resolves to [cluster-a:values_lookup] in [standard] mode"
334+
)
334335
);
335336
}
336337

@@ -342,7 +343,9 @@ public void testLookupJoinIndexMode() throws IOException {
342343
);
343344
assertThat(
344345
ex.getMessage(),
345-
containsString("invalid [cluster-a:values_lookup] resolution in lookup mode to an index in [standard] mode")
346+
containsString(
347+
"Lookup Join requires a single lookup mode index; [values_lookup] resolves to [cluster-a:values_lookup] in [standard] mode"
348+
)
346349
);
347350
}
348351

0 commit comments

Comments
 (0)