Skip to content

Commit 151c3a9

Browse files
fix test
1 parent 7201dda commit 151c3a9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

server/src/internalClusterTest/java/org/elasticsearch/search/fieldcaps/FieldCapabilitiesIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ public void testCancel() throws Exception {
718718
"clear resources",
719719
TransportFieldCapabilitiesAction.class.getCanonicalName(),
720720
Level.TRACE,
721-
"clear index responses on cancellation"
721+
"clear index responses on cancellation submitted"
722722
)
723723
);
724724
BlockingOnRewriteQueryBuilder.blockOnRewrite();

server/src/main/java/org/elasticsearch/action/fieldcaps/TransportFieldCapabilitiesAction.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ private void doExecuteForked(
234234
fieldCapTask.addListener(() -> {
235235
if (finishedOrCancelled.compareAndSet(false, true)) {
236236
singleThreadedExecutor.execute(releaseResourcesOnCancel);
237+
LOGGER.trace("clear index responses on cancellation submitted");
237238
}
238239
});
239240
try (RefCountingRunnable refs = new RefCountingRunnable(() -> {

0 commit comments

Comments
 (0)