8030175: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails due to timeout
Reviewed-by: rriggs
--- a/jdk/test/java/rmi/registry/altSecurityManager/AltSecurityManager.java Fri Jan 06 02:03:47 2017 +0000
+++ b/jdk/test/java/rmi/registry/altSecurityManager/AltSecurityManager.java Sun Jan 08 23:15:57 2017 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -54,7 +54,8 @@
static final String ACTIVATION = "sun.rmi.server.Activation";
// children should exit in at least this time.
- static long TIME_OUT = 15000;
+ private static final long TIME_OUT =
+ (long)(15000 * TestLibrary.getTimeoutFactor());
public AltSecurityManager(int port) {
if (port <= 0) {