From 94a7762d9d3ddfdb73e00ef8a6a7de04b2a219d3 Mon Sep 17 00:00:00 2001 From: Thiago Camargo Date: Thu, 8 Feb 2007 22:39:09 +0000 Subject: [PATCH] Echo Test Added git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7052 b35dd754-fafc-0310-a699-88a17e54d16e --- .../jivesoftware/smackx/jingle/nat/STUNResolverTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jingle/extension/test/org/jivesoftware/smackx/jingle/nat/STUNResolverTest.java b/jingle/extension/test/org/jivesoftware/smackx/jingle/nat/STUNResolverTest.java index 0f081c119..75e97221a 100644 --- a/jingle/extension/test/org/jivesoftware/smackx/jingle/nat/STUNResolverTest.java +++ b/jingle/extension/test/org/jivesoftware/smackx/jingle/nat/STUNResolverTest.java @@ -371,8 +371,11 @@ public class STUNResolverTest extends SmackTestCase { TransportCandidate.CandidateEcho ce2 = c2.getCandidateEcho(); for (int i = 0; i < 10; i++) { - assertTrue(ce1.test(InetAddress.getByName("localhost"), 22444,100)); - assertTrue(ce2.test(InetAddress.getByName("localhost"), 22222,100)); + assertTrue(ce1.test(InetAddress.getByName("localhost"), 22444, 100)); + System.out.println("Bind OK"); + } + for (int i = 0; i < 10; i++) { + assertTrue(ce2.test(InetAddress.getByName("localhost"), 22222, 100)); System.out.println("Bind OK"); }