8207964: [TESTBUG] Change stressTime to default to 30 for nsk tests

Change the default from 60 seconds to 30 seconds.

Reviewed-by: coleenp, dholmes
This commit is contained in:
Harold Seigel 2019-01-10 10:15:02 -05:00
parent 65d240417f
commit 402ab4431a
3 changed files with 6 additions and 6 deletions

View File

@ -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 @@ public class StressOptions {
}
/* 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 */

View File

@ -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 @@ import nsk.share.TestBug;
* 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.
*/

View File

@ -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 @@ public class SimpleExampleWithOptionsAnnotation
class StressOptions
{
@Option(default_value="60", description="Stress time")
@Option(default_value="30", description="Stress time")
private long stressTime;
public long getStressTime()