Author: jim.ma
Date: 2015-04-29 03:03:33 -0400 (Wed, 29 Apr 2015)
New Revision: 19738
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java
Log:
Minor change to make this test more reliable
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java
===================================================================
---
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java 2015-04-29
04:15:02 UTC (rev 19737)
+++
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/store/RMStoreCheckInterceptor.java 2015-04-29
07:03:33 UTC (rev 19738)
@@ -29,7 +29,6 @@
import org.apache.cxf.phase.Phase;
import org.apache.cxf.ws.rm.RMDeliveryInterceptor;
import org.apache.cxf.ws.rm.RMManager;
-import org.apache.cxf.ws.rm.RMUtils;
import org.apache.cxf.ws.rm.SourceSequence;
/**
* Interceptor to check if the RMStore is enabled and stores data
@@ -39,7 +38,7 @@
public class RMStoreCheckInterceptor extends AbstractPhaseInterceptor<Message>
{
- public static int seqSize;
+ public static volatile int seqSize;
private String endpointIdentifier =
"{http://www.jboss.org/jbossws/ws-extensions/wsrm}RMService.{http://www.jboss.org/jbossws/ws-extensions/wsrm}RMEndpointPort@cxf";
public RMStoreCheckInterceptor()
{
Show replies by date