changeset 53302:c58de85b30d2

8216563: [TESTBUG] Change stressTime to default to 30 for nsk tests (part 2) Summary: Change the default from 60 seconds to 30 seconds. Reviewed-by: coleenp, mseledtsov
author hseigel
date Tue, 15 Jan 2019 14:55:45 -0500
parents 50355c3d35c0
children 65a1d49d1718
files test/hotspot/jtreg/vmTestbase/nsk/share/test/StressOptions.java test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/README test/hotspot/jtreg/vmTestbase/vm/share/options/package-info.java
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/vmTestbase/nsk/share/test/StressOptions.java	Tue Jan 15 09:22:00 2019 -0500
+++ b/test/hotspot/jtreg/vmTestbase/nsk/share/test/StressOptions.java	Tue Jan 15 14:55:45 2019 -0500
@@ -79,7 +79,7 @@
      * Create StressOptions with default settings.
      */
     public StressOptions() {
-        time = 60;
+        time = 30;
         iterationsFactor = 1;
         threadsFactor = 1;
         runsFactor = 1;
--- a/test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/README	Tue Jan 15 09:22:00 2019 -0500
+++ b/test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/README	Tue Jan 15 14:55:45 2019 -0500
@@ -1,4 +1,4 @@
-Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 2014, 2019, 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
@@ -210,7 +210,7 @@
 
     StressTest has some specific options:
         -stressTime <long>
-            Stress execution time in seconds (default: 60)
+            Stress execution time in seconds (default: 30)
 
         -stressThreadsFactor <int>
               Stress threads factor (default: 1)
--- a/test/hotspot/jtreg/vmTestbase/vm/share/options/package-info.java	Tue Jan 15 09:22:00 2019 -0500
+++ b/test/hotspot/jtreg/vmTestbase/vm/share/options/package-info.java	Tue Jan 15 14:55:45 2019 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2019, 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
@@ -98,7 +98,7 @@
 public class StressOptions {
     // [2]
     &#064;Option(name="stressTime",
-                default_value="60",
+                default_value="30",
                 description="Stress time")
     private long stressTime;
 
@@ -227,7 +227,7 @@
     -iterations <number>
               Number of iterations (mandatory)
         -stressTime <number>
-              Stress time (default 60)
+              Stress time (default 30)
     -garbageProducer <garbage producer>
               Garbage producer (default byteArr). Supported keys:
                   byteArr    byte array producer