GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Auto-port 4.1: Fix flaky PooledByteBufAllocatorTest (#16324) · netty/netty@a66d7d3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • buffer/src/test/java/io/netty/buffer
    • PooledByteBufAllocatorTest.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java‎

Copy file name to clipboardExpand all lines: buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,13 +349,13 @@ public void testAllocateSmallOffset() {
349349
}
350350

351351
@Test
352-
@Timeout(value = 10, threadMode = Timeout.ThreadMode.SEPARATE_THREAD)
352+
@Timeout(value = 20, threadMode = Timeout.ThreadMode.SEPARATE_THREAD)
353353
public void testThreadCacheDestroyedByThreadCleaner() throws InterruptedException {
354354
testThreadCacheDestroyed(false);
355355
}
356356

357357
@Test
358-
@Timeout(value = 10, threadMode = Timeout.ThreadMode.SEPARATE_THREAD)
358+
@Timeout(value = 20, threadMode = Timeout.ThreadMode.SEPARATE_THREAD)
359359
public void testThreadCacheDestroyedAfterExitRun() throws InterruptedException {
360360
testThreadCacheDestroyed(true);
361361
}
@@ -408,7 +408,6 @@ public void run() {
408408
while (allocator.metric().numThreadLocalCaches() > 0) {
409409
// Signal we want to have a GC run to ensure we can process our ThreadCleanerReference
410410
System.gc();
411-
System.runFinalization();
412411
LockSupport.parkNanos(MILLISECONDS.toNanos(100));
413412
}
414413

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.