Author: veithen
Date: Thu Aug 28 18:05:07 2014
New Revision: 1621172
URL: http://svn.apache.org/r1621172
Log:
Fix a minor unit test issue (invalid usage of a monitor) that doesn't cause any
failures, but that unnecessarily delays test completion by 45 seconds.
Modified:
axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/async/AsyncServiceTest.java
Modified:
axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/async/AsyncServiceTest.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/async/AsyncServiceTest.java?rev=1621172&r1=1621171&r2=1621172&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/async/AsyncServiceTest.java
(original)
+++
axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/async/AsyncServiceTest.java
Thu Aug 28 18:05:07 2014
@@ -136,7 +136,7 @@ public class AsyncServiceTest extends Ut
}
/** This is called at the end of the MEP no matter what
happens, quite like a finally block. */
- public void onComplete() {
+ public synchronized void onComplete() {
finish = true;
notify();
}