Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cenwenchu committed Jan 19, 2012
1 parent d3e0eab commit 8ac2bef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/conf.test/slave-config1.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
groupId=TOP
slaveName=slave2
masterAddress=127.0.0.1
masterPort=6800
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public static SlaveNode buildSlave(String configfile,boolean needStart)
}

@Test
@Ignore
public void test() throws AnalysisException, InterruptedException
{
//build MasterNode1
Expand Down Expand Up @@ -132,7 +133,6 @@ public void test() throws AnalysisException, InterruptedException
}

@Test
@Ignore
public void test1() throws AnalysisException, InterruptedException
{
//build MasterNode1
Expand All @@ -144,13 +144,15 @@ public void test1() throws AnalysisException, InterruptedException

//build SlaveNode
SlaveNode slaveNode = buildSlave("slave-config.properties",true);
SlaveNode slaveNode1 = buildSlave("slave-config1.properties",true);

Thread.sleep(35 * 1000);

masterNode.stopNode();
masterNode1.stopNode();
masterNode2.stopNode();
slaveNode.stopNode();
slaveNode1.stopNode();

Thread.sleep(3000);

Expand Down

0 comments on commit 8ac2bef

Please sign in to comment.