cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject git commit: [CXF-5882]UDPTransportTest.testLargeRequest always failed on some machine (cherry picked from commit 766417839bed9233550f3ac696dbd98389677fc0)
Date Thu, 17 Jul 2014 02:44:52 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 3a1327776 -> 1bd129bb7


[CXF-5882]UDPTransportTest.testLargeRequest always failed on some machine
(cherry picked from commit 766417839bed9233550f3ac696dbd98389677fc0)


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/1bd129bb
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/1bd129bb
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/1bd129bb

Branch: refs/heads/2.7.x-fixes
Commit: 1bd129bb7aad4a97d583209e3bae3b67ee004220
Parents: 3a13277
Author: Freeman Fang <freeman.fang@gmail.com>
Authored: Wed Jul 16 17:13:51 2014 +0800
Committer: Freeman Fang <freeman.fang@gmail.com>
Committed: Thu Jul 17 10:44:29 2014 +0800

----------------------------------------------------------------------
 .../test/java/org/apache/cxf/transport/udp/UDPTransportTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/1bd129bb/rt/transports/udp/src/test/java/org/apache/cxf/transport/udp/UDPTransportTest.java
----------------------------------------------------------------------
diff --git a/rt/transports/udp/src/test/java/org/apache/cxf/transport/udp/UDPTransportTest.java
b/rt/transports/udp/src/test/java/org/apache/cxf/transport/udp/UDPTransportTest.java
index 00e9b36..fea6ce1 100644
--- a/rt/transports/udp/src/test/java/org/apache/cxf/transport/udp/UDPTransportTest.java
+++ b/rt/transports/udp/src/test/java/org/apache/cxf/transport/udp/UDPTransportTest.java
@@ -104,7 +104,7 @@ public class UDPTransportTest extends AbstractBusClientServerTestBase
{
         fact.setAddress("udp://localhost:" + PORT);
         Greeter g = fact.create(Greeter.class);
         StringBuilder b = new StringBuilder(100000);
-        for (int x = 0; x < 10000; x++) {
+        for (int x = 0; x < 6500; x++) {
             b.append("Hello ");
         }
         assertEquals("Hello " + b.toString(), g.greetMe(b.toString()));


Mime
View raw message