修改测试发送用例-配置

This commit is contained in:
zhangxin10 2015-11-09 11:44:13 +08:00
parent 3ccd6fc203
commit 181482f22c
2 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@ public class DataSenderFactory {
private static List<DataSender> availableSenders = new ArrayList<DataSender>();
static {
socketAddresses.add(new InetSocketAddress("127.0.0.1", 34000));
socketAddresses.add(new InetSocketAddress("127.0.0.1", 35000));
socketAddresses.add(new InetSocketAddress("10.1.235.197", 34000));
socketAddresses.add(new InetSocketAddress("10.1.235.197", 35000));
new DataSenderMaker().start();
}

View File

@ -26,7 +26,7 @@ public class SenderTest {
@Parameterized.Parameters
public static Collection<Integer[]> getParams() {
return Arrays.asList(new Integer[][]{
{10, 1000, 1, 1, 1, 1},
{10, 100, 1, 1, 1, 1},
});
}