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@fb34160

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
@@ -2731,6 +2731,7 @@ private void testInternalNioBuffer(int a) {
27312731
}
27322732

27332733
@Test
2734+
@Timeout(30)
27342735
public void testDuplicateReadGatheringByteChannelMultipleThreads() throws Exception {
27352736
final byte[] bytes = new byte[8];
27362737
random.nextBytes(bytes);
@@ -2745,6 +2746,7 @@ public void testDuplicateReadGatheringByteChannelMultipleThreads() throws Except
27452746
}
27462747

27472748
@Test
2749+
@Timeout(30)
27482750
public void testSliceReadGatheringByteChannelMultipleThreads() throws Exception {
27492751
final byte[] bytes = new byte[8];
27502752
random.nextBytes(bytes);
@@ -2795,11 +2797,12 @@ public void run() {
27952797
}
27962798
}).start();
27972799
}
2798-
latch.await(10, TimeUnit.SECONDS);
2800+
latch.await();
27992801
barrier.await(5, TimeUnit.SECONDS);
28002802
}
28012803

28022804
@Test
2805+
@Timeout(30)
28032806
public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
28042807
final byte[] bytes = new byte[8];
28052808
random.nextBytes(bytes);
@@ -2814,6 +2817,7 @@ public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
28142817
}
28152818

28162819
@Test
2820+
@Timeout(30)
28172821
public void testSliceReadOutputStreamMultipleThreads() throws Exception {
28182822
final byte[] bytes = new byte[8];
28192823
random.nextBytes(bytes);
@@ -2863,7 +2867,7 @@ public void run() {
28632867
}
28642868
}).start();
28652869
}
2866-
latch.await(10, TimeUnit.SECONDS);
2870+
latch.await();
28672871
barrier.await(5, TimeUnit.SECONDS);
28682872
}
28692873

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
@@ -491,6 +491,7 @@ void testIsWritable(DerivedParam param) {
491491
}
492492

493493
@Test
494+
@Timeout(30)
494495
public void testDuplicateReadGatheringByteChannelMultipleThreads() throws Exception {
495496
final byte[] bytes = new byte[8];
496497
ThreadLocalRandom.current().nextBytes(bytes);
@@ -506,6 +507,7 @@ public void testDuplicateReadGatheringByteChannelMultipleThreads() throws Except
506507
}
507508

508509
@Test
510+
@Timeout(30)
509511
public void testSliceReadGatheringByteChannelMultipleThreads() throws Exception {
510512
final byte[] bytes = new byte[8];
511513
ThreadLocalRandom.current().nextBytes(bytes);
@@ -521,6 +523,7 @@ public void testSliceReadGatheringByteChannelMultipleThreads() throws Exception
521523
}
522524

523525
@Test
526+
@Timeout(30)
524527
public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
525528
final byte[] bytes = new byte[8];
526529
ThreadLocalRandom.current().nextBytes(bytes);
@@ -536,6 +539,7 @@ public void testDuplicateReadOutputStreamMultipleThreads() throws Exception {
536539
}
537540

538541
@Test
542+
@Timeout(30)
539543
public void testSliceReadOutputStreamMultipleThreads() throws Exception {
540544
final byte[] bytes = new byte[8];
541545
ThreadLocalRandom.current().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.