# HG changeset patch # User Andrew Azores # Date 1476286136 14400 # Node ID 9fe2266b4fa55eb78d372e634790878f328303f5 # Parent 11bbdf6fc4ec8c0f8ef38969782e69bf5cc44a5d Uncomment @Bug annotation in WebStorageEndPointUnitTest PR3170 Reviewed-by: jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-October/021228.html diff -r 11bbdf6fc4ec -r 9fe2266b4fa5 web/server/src/test/java/com/redhat/thermostat/web/server/WebStorageEndPointUnitTest.java --- a/web/server/src/test/java/com/redhat/thermostat/web/server/WebStorageEndPointUnitTest.java Fri Sep 23 19:28:22 2016 +0200 +++ b/web/server/src/test/java/com/redhat/thermostat/web/server/WebStorageEndPointUnitTest.java Wed Oct 12 11:28:56 2016 -0400 @@ -66,6 +66,7 @@ import javax.servlet.ServletException; import com.redhat.thermostat.storage.core.Storage; +import com.redhat.thermostat.test.Bug; import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -306,9 +307,9 @@ } @Test -// @Bug(id = "PR2941", -// url = "http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2941", -// summary = "Concurrent webstorage connections may cause storage exceptions") + @Bug(id = "PR3170", + url = "http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3170", + summary = "Concurrent webstorage connections may cause storage exceptions") @PrepareForTest({ WebStorageEndPoint.class }) public void testStorageIsCreatedOnceOnInit() throws Exception { final ServletContext mockContext = mock(ServletContext.class);