File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/test/java/org/apache/commons/io/input Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 5050import org .apache .commons .io .output .QueueOutputStream ;
5151import org .apache .commons .io .output .QueueOutputStreamTest ;
5252import org .apache .commons .lang3 .StringUtils ;
53- import org .junit .jupiter .api .DisplayName ;
5453import org .junit .jupiter .api .DynamicTest ;
5554import org .junit .jupiter .api .Test ;
5655import org .junit .jupiter .api .TestFactory ;
@@ -312,7 +311,7 @@ void testResetArguments() throws IOException {
312311 }
313312
314313 @ Test
315- @ DisplayName ( " If read is interrupted while waiting, then exception is thrown" )
314+ /** If read is interrupted while waiting, then exception is thrown */
316315 void testTimeoutInterrupted () throws Exception {
317316 try (QueueInputStream inputStream = QueueInputStream .builder ().setTimeout (Duration .ofMinutes (2 )).get ();
318317 QueueOutputStream outputStream = inputStream .newQueueOutputStream ()) {
@@ -338,7 +337,7 @@ void testTimeoutInterrupted() throws Exception {
338337 }
339338
340339 @ Test
341- @ DisplayName ( " If data is not available in queue, then read will wait until wait time elapses" )
340+ /** If data is not available in queue, then read will wait until wait time elapses */
342341 void testTimeoutUnavailableData () throws IOException {
343342 try (QueueInputStream inputStream = QueueInputStream .builder ().setTimeout (Duration .ofMillis (500 )).get ();
344343 QueueOutputStream outputStream = inputStream .newQueueOutputStream ()) {
You can’t perform that action at this time.
0 commit comments