Skip to content

Commit eabf3ba

Browse files
committed
8256037: [TESTBUG] com/sun/jndi/dns/ConfigTests/PortUnreachable.java fails due to the hard coded threshold is small
Reviewed-by: shade, aefimov
1 parent 36dbe6f commit eabf3ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/jdk/com/sun/jndi/dns/ConfigTests/PortUnreachable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2002, 2020, 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,9 +44,9 @@ public class PortUnreachable extends DNSTestBase {
4444

4545
// Threshold in ms for elapsed time of request failed. Normally, it should
4646
// be very quick, but consider to different platform and test machine
47-
// performance, here we define 1000 ms as threshold which acceptable for
47+
// performance, here we define 3000 ms as threshold which acceptable for
4848
// this test.
49-
private static final int THRESHOLD = 1000;
49+
private static final int THRESHOLD = 3000;
5050

5151
private long startTime;
5252

0 commit comments

Comments
 (0)