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 — Stabilize more AbstractByteBufTests (#16611) · netty/netty@e41afb0

File tree

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

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

Copy file name to clipboardExpand all lines: buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2726,6 +2726,7 @@ private void testInternalNioBuffer(int a) {
27262726
}
27272727

27282728
@Test
2729+
@Timeout(30)
27292730
public void testDuplicateReadGatheringByteChannelMultipleThreads() throws Exception {
27302731
final byte[] bytes = new byte[8];
27312732
random.nextBytes(bytes);
@@ -2740,6 +2741,7 @@ public void testDuplicateReadGatheringByteChannelMultipleThreads() throws Except
27402741
}
27412742

27422743
@Test
2744+
@Timeout(30)
27432745
public void testSliceReadGatheringByteChannelMultipleThreads() throws Exception {
27442746
final byte[] bytes = new byte[8];
27452747
random.nextBytes(bytes);
@@ -2790,11 +2792,12 @@ public void run() {
27902792
}
27912793
}).start();
27922794
}
2793-
latch.await(10, TimeUnit.SECONDS);
2795+
latch.await();
27942796
barrier.await(5, TimeUnit.SECONDS);
27952797
}
27962798

27972799
@Test
2800+
@Timeout(30)
27982801
public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
27992802
final byte[] bytes = new byte[8];
28002803
random.nextBytes(bytes);
@@ -2809,6 +2812,7 @@ public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
28092812
}
28102813

28112814
@Test
2815+
@Timeout(30)
28122816
public void testSliceReadOutputStreamMultipleThreads() throws Exception {
28132817
final byte[] bytes = new byte[8];
28142818
random.nextBytes(bytes);
@@ -2858,7 +2862,7 @@ public void run() {
28582862
}
28592863
}).start();
28602864
}
2861-
latch.await(10, TimeUnit.SECONDS);
2865+
latch.await();
28622866
barrier.await(5, TimeUnit.SECONDS);
28632867
}
28642868

Collapse file

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

Copy file name to clipboardExpand all lines: buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ void testIsWritable(DerivedParam param) {
490490
}
491491

492492
@Test
493+
@Timeout(30)
493494
public void testDuplicateReadGatheringByteChannelMultipleThreads() throws Exception {
494495
final byte[] bytes = new byte[8];
495496
PlatformDependent.threadLocalRandom().nextBytes(bytes);
@@ -505,6 +506,7 @@ public void testDuplicateReadGatheringByteChannelMultipleThreads() throws Except
505506
}
506507

507508
@Test
509+
@Timeout(30)
508510
public void testSliceReadGatheringByteChannelMultipleThreads() throws Exception {
509511
final byte[] bytes = new byte[8];
510512
PlatformDependent.threadLocalRandom().nextBytes(bytes);
@@ -520,6 +522,7 @@ public void testSliceReadGatheringByteChannelMultipleThreads() throws Exception
520522
}
521523

522524
@Test
525+
@Timeout(30)
523526
public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
524527
final byte[] bytes = new byte[8];
525528
PlatformDependent.threadLocalRandom().nextBytes(bytes);
@@ -535,6 +538,7 @@ public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
535538
}
536539

537540
@Test
541+
@Timeout(30)
538542
public void testSliceReadOutputStreamMultipleThreads() throws Exception {
539543
final byte[] bytes = new byte[8];
540544
PlatformDependent.threadLocalRandom().nextBytes(bytes);

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.