changeset 208:b736533e1715

Missing outcome in ReadTwiceOverVolatileReadTest. Contributed-by: Pavel Punegov <pavel.punegov@oracle.com>
author shade
date Fri, 15 Aug 2014 18:04:51 +0400
parents b2d694f290cd
children d5ee2fd14e19
files tests-custom/src/main/java/org/openjdk/jcstress/tests/volatiles/ReadTwiceOverVolatileReadTest.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/volatiles/ReadTwiceOverVolatileReadTest.java	Fri Aug 15 18:02:27 2014 +0400
+++ b/tests-custom/src/main/java/org/openjdk/jcstress/tests/volatiles/ReadTwiceOverVolatileReadTest.java	Fri Aug 15 18:04:51 2014 +0400
@@ -42,6 +42,7 @@
 @Outcome(id = "[0, 1, 0]", expect = Expect.FORBIDDEN,  desc = "Volatile write to $y had happened, and update to $x had been lost.")
 @Outcome(id = "[1, 1, 0]", expect = Expect.FORBIDDEN,  desc = "Volatile write to $y had happened, and update to $x had been lost.")
 @Outcome(id = "[0, 0, 1]", expect = Expect.ACCEPTABLE, desc = "Write to $y is still in flight, $x is arriving late.")
+@Outcome(id = "[1, 0, 1]", expect = Expect.ACCEPTABLE, desc = "Write to $y is still in flight, $x has arrived.")
 @Outcome(id = "[0, 1, 1]", expect = Expect.ACCEPTABLE, desc = "The writes appear the the writers' order.")
 @Outcome(id = "[1, 1, 1]", expect = Expect.ACCEPTABLE, desc = "Both updates are visible.")
 @Ref("http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7170145")