changeset 54296:dece421843f3

8207964: [TESTBUG] Change stressTime to default to 30 for nsk tests Summary: Change the default from 60 seconds to 30 seconds. Reviewed-by: coleenp, dholmes
author hseigel
date Thu, 10 Jan 2019 10:15:02 -0500
parents e1cc790f0c06
children 443abf0dc2ed
files test/hotspot/jtreg/vmTestbase/nsk/share/test/StressOptions.java test/hotspot/jtreg/vmTestbase/nsk/share/test/Stresser.java test/hotspot/jtreg/vmTestbase/vm/share/options/test/SimpleExampleWithOptionsAnnotation.java
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/vmTestbase/nsk/share/test/StressOptions.java	Thu Jan 10 13:54:09 2019 +0100
+++ b/test/hotspot/jtreg/vmTestbase/nsk/share/test/StressOptions.java	Thu Jan 10 10:15:02 2019 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 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
@@ -53,7 +53,7 @@
     }
 
     /* Execution time in seconds */
-    @Option(name = "stressTime", default_value = "60", description = "Stress execution time in seconds")
+    @Option(name = "stressTime", default_value = "30", description = "Stress execution time in seconds")
     private long time;
 
     /* Iterations factor */
--- a/test/hotspot/jtreg/vmTestbase/nsk/share/test/Stresser.java	Thu Jan 10 13:54:09 2019 +0100
+++ b/test/hotspot/jtreg/vmTestbase/nsk/share/test/Stresser.java	Thu Jan 10 10:15:02 2019 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 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
@@ -48,7 +48,7 @@
  * because average execution time of one iteration may be different.
  * This is value which is enough to do what test intends to do and it should
  * also give average execution time on most configurations less than
- * standard value of stressTime parameter (60 seconds).
+ * standard value of stressTime parameter (30 seconds).
  *
  * @see nsk.share.test.StressOptions for explanation of stress options.
  */
--- a/test/hotspot/jtreg/vmTestbase/vm/share/options/test/SimpleExampleWithOptionsAnnotation.java	Thu Jan 10 13:54:09 2019 +0100
+++ b/test/hotspot/jtreg/vmTestbase/vm/share/options/test/SimpleExampleWithOptionsAnnotation.java	Thu Jan 10 10:15:02 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
@@ -68,7 +68,7 @@
 
 class StressOptions
 {
-    @Option(default_value="60", description="Stress time")
+    @Option(default_value="30", description="Stress time")
     private long stressTime;
 
     public long getStressTime()