changeset 209:d5ee2fd14e19

Add missing outcome in ThreadPoolExecutorSizesTest. Contributed-by: Pavel Punegov <pavel.punegov@oracle.com>
author shade
date Fri, 15 Aug 2014 18:07:55 +0400
parents b736533e1715
children 31dbc6275b2d
files tests-custom/src/main/java/org/openjdk/jcstress/tests/executors/ThreadPoolExecutorSizesTest.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/executors/ThreadPoolExecutorSizesTest.java	Fri Aug 15 18:04:51 2014 +0400
+++ b/tests-custom/src/main/java/org/openjdk/jcstress/tests/executors/ThreadPoolExecutorSizesTest.java	Fri Aug 15 18:07:55 2014 +0400
@@ -40,6 +40,7 @@
 @JCStressTest
 @Description(" Tests if ThreadPoolExecutor invariant can be violated: corePoolSize &#8804; maxPoolSize")
 @Outcome(id = "[3, 4]", expect = Expect.ACCEPTABLE, desc = "corePoolSize had changed, and maxPoolSize failed to change.")
+@Outcome(id = "[1, 2]", expect = Expect.ACCEPTABLE, desc = "maxPoolSize had changed, and corePoolSize failed to change.")
 @Outcome(id = "[3, 2]", expect = Expect.ACCEPTABLE_INTERESTING, desc = "The update under race can break the (core &#8804; maxPool) invariant.")
 @State
 public class ThreadPoolExecutorSizesTest {