File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/openmessaging/storage/dledger/protocol Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ public void testVoteNormal() throws Exception {
115115 @ Test
116116 public void testVoteTermSmallThanLedger () throws Exception {
117117 String group = UUID .randomUUID ().toString ();
118- String peers = String .format ("n0-localhost:%d" , nextPort (), nextPort () );
118+ String peers = String .format ("n0-localhost:%d" , nextPort ());
119119 DLedgerServer leader = launchServer (group , peers , "n0" );
120120 Thread .sleep (1000 );
121121 Assertions .assertTrue (leader .getMemberState ().isLeader ());
@@ -148,7 +148,7 @@ public void testVoteTermSmallThanLedger() throws Exception {
148148 @ Test
149149 public void testVoteAlreadyVoted () throws Exception {
150150 String group = UUID .randomUUID ().toString ();
151- String peers = String .format ("n0-localhost:%d" , nextPort (), nextPort () );
151+ String peers = String .format ("n0-localhost:%d" , nextPort ());
152152 DLedgerServer leader = launchServer (group , peers , "n0" );
153153 Thread .sleep (1000 );
154154 Assertions .assertTrue (leader .getMemberState ().isLeader ());
You can’t perform that action at this time.
0 commit comments