Skip to content

Commit 2659bc4

Browse files
author
Brian Burkhalter
committedJan 7, 2021
8259274: Increase timeout duration in sun/nio/ch/TestMaxCachedBufferSize.java
Reviewed-by: lancea
1 parent bc56541 commit 2659bc4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎test/jdk/sun/nio/ch/TestMaxCachedBufferSize.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -44,11 +44,11 @@
4444
* @modules java.management
4545
* @library /test/lib
4646
* @build TestMaxCachedBufferSize
47-
* @run main/othervm TestMaxCachedBufferSize
48-
* @run main/othervm -Djdk.nio.maxCachedBufferSize=0 TestMaxCachedBufferSize
49-
* @run main/othervm -Djdk.nio.maxCachedBufferSize=2000 TestMaxCachedBufferSize
50-
* @run main/othervm -Djdk.nio.maxCachedBufferSize=100000 TestMaxCachedBufferSize
51-
* @run main/othervm -Djdk.nio.maxCachedBufferSize=10000000 TestMaxCachedBufferSize
47+
* @run main/othervm/timeout=150 TestMaxCachedBufferSize
48+
* @run main/othervm/timeout=150 -Djdk.nio.maxCachedBufferSize=0 TestMaxCachedBufferSize
49+
* @run main/othervm/timeout=150 -Djdk.nio.maxCachedBufferSize=2000 TestMaxCachedBufferSize
50+
* @run main/othervm/timeout=150 -Djdk.nio.maxCachedBufferSize=100000 TestMaxCachedBufferSize
51+
* @run main/othervm/timeout=150 -Djdk.nio.maxCachedBufferSize=10000000 TestMaxCachedBufferSize
5252
* @summary Test the implementation of the jdk.nio.maxCachedBufferSize property
5353
* (use -Dseed=X to set PRNG seed)
5454
* @key randomness

0 commit comments

Comments
 (0)
Please sign in to comment.