ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1301588 - /ace/trunk/ace-deployment-streamgenerator/src/test/java/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java
Date Fri, 16 Mar 2012 15:09:54 GMT
Author: marrs
Date: Fri Mar 16 15:09:54 2012
New Revision: 1301588

URL: http://svn.apache.org/viewvc?rev=1301588&view=rev
Log:
ACE-63 more small fixes

Modified:
    ace/trunk/ace-deployment-streamgenerator/src/test/java/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java

Modified: ace/trunk/ace-deployment-streamgenerator/src/test/java/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java
URL: http://svn.apache.org/viewvc/ace/trunk/ace-deployment-streamgenerator/src/test/java/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java?rev=1301588&r1=1301587&r2=1301588&view=diff
==============================================================================
--- ace/trunk/ace-deployment-streamgenerator/src/test/java/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java
(original)
+++ ace/trunk/ace-deployment-streamgenerator/src/test/java/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java
Fri Mar 16 15:09:54 2012
@@ -83,7 +83,7 @@ public class StreamTest {
     public static void main(String[] args) {
         final InputStream[] streams = new InputStream[300];
         for (int i = 1; i <= 250; i++) {
-            final String id = "gateway-" + i;
+            final String id = "target-" + i;
             try {
                 streams[i - 1] = new URL("http://127.0.0.1:" + TestConstants.PORT + "/data/"
+ id + "/versions/1.0.0").openStream();
             }
@@ -204,7 +204,7 @@ public class StreamTest {
                     for (int i = 250; i < 300; i++) {
                         try {
                             if (streams[i] == null) {
-                                streams[i] = new URL("http://127.0.0.1:" + TestConstants.PORT
+ "/data/gateway-" + (i + 1) + "/versions/1.0.0").openStream();
+                                streams[i] = new URL("http://127.0.0.1:" + TestConstants.PORT
+ "/data/target-" + (i + 1) + "/versions/1.0.0").openStream();
                             }
                             int in = streams[i].read();
                             if (in == -1) {



Mime
View raw message