Skip to content

Commit

Permalink
ThroughputTest: increase delay
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Feb 8, 2023
1 parent 009dac1 commit 1ca9653
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,31 +391,31 @@ public void run() {
@Test
@AFSocketCapabilityRequirement(AFSocketCapability.CAPABILITY_UNIX_DATAGRAMS)
public void testDatagramChannel() throws Exception {
assertTimeoutPreemptively(Duration.ofSeconds(NUM_SECONDS + 5), () -> {
assertTimeoutPreemptively(Duration.ofSeconds(NUM_SECONDS + 10), () -> {
testDatagramChannel(false, true);
});
}

@Test
@AFSocketCapabilityRequirement(AFSocketCapability.CAPABILITY_UNIX_DATAGRAMS)
public void testDatagramChannelDirect() throws Exception {
assertTimeoutPreemptively(Duration.ofSeconds(NUM_SECONDS + 5), () -> {
assertTimeoutPreemptively(Duration.ofSeconds(NUM_SECONDS + 10), () -> {
testDatagramChannel(true, true);
});
}

@Test
@AFSocketCapabilityRequirement(AFSocketCapability.CAPABILITY_UNIX_DATAGRAMS)
public void testDatagramChannelNonBlocking() throws Exception {
assertTimeoutPreemptively(Duration.ofSeconds(NUM_SECONDS + 5), () -> {
assertTimeoutPreemptively(Duration.ofSeconds(NUM_SECONDS + 10), () -> {
testDatagramChannel(false, false);
});
}

@Test
@AFSocketCapabilityRequirement(AFSocketCapability.CAPABILITY_UNIX_DATAGRAMS)
public void testDatagramChannelNonBlockingDirect() throws Exception {
assertTimeoutPreemptively(Duration.ofSeconds(NUM_SECONDS + 5), () -> {
assertTimeoutPreemptively(Duration.ofSeconds(NUM_SECONDS + 10), () -> {
testDatagramChannel(true, false);
});
}
Expand Down

0 comments on commit 1ca9653

Please sign in to comment.