Skip to content

Commit b9523f5

Browse files
committed
Fix
1 parent ba71bab commit b9523f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/internalClusterTest/java/org/elasticsearch/action/bulk/BulkSourceReleaseIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void testBytesReferencedByTwoSourcesNotReleasedIfOnlyOneIngestPipeline()
110110
handler.lastItems(List.of(indexRequest, indexRequestNoIngest), future);
111111

112112
// Pause briefly to allow bytes to theoretically be released after ingest processing
113-
LockSupport.parkNanos(TimeUnit.MILLISECONDS.toNanos(500));
113+
LockSupport.parkNanos(TimeUnit.MILLISECONDS.toNanos(50));
114114

115115
assertTrue(originalBytes.hasReferences());
116116
} finally {
@@ -214,7 +214,7 @@ public boolean isForceExecution() {
214214
}
215215
};
216216
for (int i = 0; i < threadCount; i++) {
217-
threadPool.executor(ThreadPool.Names.WRITE_COORDINATION).execute(blockingTask);
217+
threadPool.executor(ThreadPool.Names.WRITE).execute(blockingTask);
218218
}
219219
safeAwait(startBarrier);
220220
}

0 commit comments

Comments
 (0)