From 15a31556de89488fda8edf15f4214e9121434300 Mon Sep 17 00:00:00 2001 From: Luca Cavanna Date: Thu, 12 Dec 2024 10:41:52 +0100 Subject: [PATCH] fix compile --- .../SearchableSnapshotsSearchIntegTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsSearchIntegTests.java b/x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsSearchIntegTests.java index f77a3f5698c98..c60ebc884dbed 100644 --- a/x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsSearchIntegTests.java +++ b/x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsSearchIntegTests.java @@ -123,7 +123,7 @@ public void testKeywordSortedQueryOnFrozen() throws Exception { assertThat(searchResponse.getFailedShards(), equalTo(0)); assertThat(searchResponse.getSkippedShards(), equalTo(0)); assertThat(searchResponse.getTotalShards(), equalTo(20)); - assertThat(searchResponse.getHits().getTotalHits().value(), equalTo(4L)); + assertThat(searchResponse.getHits().getTotalHits().value, equalTo(4L)); }); } }