juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r1124552 - /juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java
Date Thu, 19 May 2011 06:21:05 GMT
Author: kstam
Date: Thu May 19 06:21:05 2011
New Revision: 1124552

URL: http://svn.apache.org/viewvc?rev=1124552&view=rev
Log:
JUDDI-483, Do a best effort to remove the artifacts but don't fail the test.

Modified:
    juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java

Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java?rev=1124552&r1=1124551&r2=1124552&view=diff
==============================================================================
--- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java
(original)
+++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java
Thu May 19 06:21:05 2011
@@ -123,11 +123,16 @@ public class UDDI_090_SubscriptionListen
 
 			Assert.fail();
 		} finally {
-			
-			tckSubscriptionListener.deleteNotifierSubscription(authInfoJoe);
-			tckBusinessService.deleteJoePublisherService(authInfoJoe);
-			tckBusiness.deleteJoePublisherBusiness(authInfoJoe);
-			tckTModel.deleteJoePublisherTmodel(authInfoJoe);
+			endPoint.stop();
+			//do a best effort to remove these artifacts
+			try {
+				tckSubscriptionListener.deleteNotifierSubscription(authInfoJoe);
+				tckBusinessService.deleteJoePublisherService(authInfoJoe);
+				tckBusiness.deleteJoePublisherBusiness(authInfoJoe);
+				tckTModel.deleteJoePublisherTmodel(authInfoJoe);
+			} catch (Exception e) {
+				e.printStackTrace();
+			}
 		}
 	}	
     



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message