cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1372982 - /cxf/branches/2.4.x-fixes/systests/transports/src/test/java/org/apache/cxf/systest/servlet/NoSpringServletClientTest.java
Date Tue, 14 Aug 2012 17:17:41 GMT
Author: dkulp
Date: Tue Aug 14 17:17:41 2012
New Revision: 1372982

URL: http://svn.apache.org/viewvc?rev=1372982&view=rev
Log:
Fix failing test

Modified:
    cxf/branches/2.4.x-fixes/systests/transports/src/test/java/org/apache/cxf/systest/servlet/NoSpringServletClientTest.java

Modified: cxf/branches/2.4.x-fixes/systests/transports/src/test/java/org/apache/cxf/systest/servlet/NoSpringServletClientTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/systests/transports/src/test/java/org/apache/cxf/systest/servlet/NoSpringServletClientTest.java?rev=1372982&r1=1372981&r2=1372982&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/systests/transports/src/test/java/org/apache/cxf/systest/servlet/NoSpringServletClientTest.java
(original)
+++ cxf/branches/2.4.x-fixes/systests/transports/src/test/java/org/apache/cxf/systest/servlet/NoSpringServletClientTest.java
Tue Aug 14 17:17:41 2012
@@ -20,6 +20,7 @@ package org.apache.cxf.systest.servlet;
 
 import java.lang.reflect.UndeclaredThrowableException;
 import java.net.URL;
+import java.util.ArrayList;
 import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
@@ -109,7 +110,7 @@ public class NoSpringServletClientTest e
     
     private void stopServer() {
         ServerRegistry reg = serverBus.getExtension(ServerRegistry.class);
-        List<Server> servers = reg.getServers();
+        List<Server> servers = new ArrayList<Server>(reg.getServers());
         for (Server serv : servers) {
             serv.stop();
         }
@@ -117,7 +118,7 @@ public class NoSpringServletClientTest e
     
     private void startServer() {
         ServerRegistry reg = serverBus.getExtension(ServerRegistry.class);
-        List<Server> servers = reg.getServers();
+        List<Server> servers = new ArrayList<Server>(reg.getServers());
         for (Server serv : servers) {
             serv.start();
         }



Mime
View raw message