PooledExecutor executor = new PooledExecutor(); secondNode = NodeStarter.createTestNode(DARKNET_PORT, OPENNET_PORT, dir.getPath(), false, Node.DEFAULT_MAX_HTL, 0, random, executor, 1000, 5*1024*1024, true, true, true, true, true, true, true, 12*1024, false, true, false, false, ipOverride); secondNode.start(true);
nodes[i].start(false);
node.start(true);
node.start(true); if (!TestUtil.waitForNodes(node)) { node.park(); executor = new PooledExecutor(); secondNode = NodeStarter.createTestNode(DARKNET_PORT2, OPENNET_PORT2, dir.getPath(), false, Node.DEFAULT_MAX_HTL, 0, random, executor, 1000, 5*1024*1024, true, true, true, true, true, true, true, 12*1024, false, true, false, false, ipOverride); secondNode.start(true); if (!TestUtil.waitForNodes(secondNode)) { secondNode.park();
nodes[i].start(false);
node.start(true); t1 = System.currentTimeMillis(); if (!TestUtil.waitForNodes(node)) {
node.start(true);
node.start(true); t1 = System.currentTimeMillis(); if (!TestUtil.waitForNodes(node)) {
node.start(false); System.out.println("Node initialization completed."); } catch(NodeInitException e) {
nodes[i].start(false); System.err.println("Started node "+i+"/"+nodes.length);
node.start(false);
nodes[i].start(false); System.err.println("Started node "+i+"/"+nodes.length);
params.executor = executor; Node node = NodeStarter.createTestNode(params); node.start(false); HighLevelSimpleClient client = node.clientCore.makeClient((short)0, false, false);
params.executor = executor; Node node = NodeStarter.createTestNode(params); node.start(false); HighLevelSimpleClient client = node.clientCore.makeClient((short)0, false, false); params.executor = executor; Node node2 = NodeStarter.createTestNode(params); node2.start(false); HighLevelSimpleClient client2 = node.clientCore.makeClient((short)0, false, false);