mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-20 04:43:32 +00:00
8216563: [TESTBUG] Change stressTime to default to 30 for nsk tests (part 2)
Change the default from 60 seconds to 30 seconds. Reviewed-by: coleenp, mseledtsov
This commit is contained in:
parent
2ee8882fb9
commit
53c8dfdd07
@ -79,7 +79,7 @@ public class StressOptions {
|
||||
* Create StressOptions with default settings.
|
||||
*/
|
||||
public StressOptions() {
|
||||
time = 60;
|
||||
time = 30;
|
||||
iterationsFactor = 1;
|
||||
threadsFactor = 1;
|
||||
runsFactor = 1;
|
||||
|
||||
@ -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 @@ HOW TO RUN
|
||||
|
||||
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)
|
||||
|
||||
@ -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 @@ for a working version of this.
|
||||
public class StressOptions {
|
||||
// [2]
|
||||
@Option(name="stressTime",
|
||||
default_value="60",
|
||||
default_value="30",
|
||||
description="Stress time")
|
||||
private long stressTime;
|
||||
|
||||
@ -227,7 +227,7 @@ Supported options:
|
||||
-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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user