From 035db427e11f2e043d953c196c0570fc28c97b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9C=B0=E5=B9=B3=E7=BA=BF?= <22250530@qq.com> Date: Wed, 12 Aug 2015 17:37:04 +0800 Subject: [PATCH] --- test/com/wentch/redkale/test/sncp/SncpTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/com/wentch/redkale/test/sncp/SncpTest.java b/test/com/wentch/redkale/test/sncp/SncpTest.java index 154b3191b..8eea36562 100644 --- a/test/com/wentch/redkale/test/sncp/SncpTest.java +++ b/test/com/wentch/redkale/test/sncp/SncpTest.java @@ -24,13 +24,13 @@ import java.util.logging.*; */ public class SncpTest { - private static final String protocol = "UDP"; + private static final String protocol = Sncp.DEFAULT_PROTOCOL; private static final String serviceName = ""; - private static final int port = 7070; + private static final int port = 4040; - private static final int port2 = 7270; + private static final int port2 = 4240; public static void main(String[] args) throws Exception { ResourceFactory.root().register("", BsonConvert.class, BsonFactory.root().getConvert());