You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "runzhiwang (Jira)" <ji...@apache.org> on 2021/01/08 01:32:00 UTC

[jira] [Updated] (RATIS-1284) Fix failed UT: testLateServerStart

     [ https://issues.apache.org/jira/browse/RATIS-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

runzhiwang updated RATIS-1284:
------------------------------
    Description: 
Run the test 20 times, will failed at the Assert.assertEquals(leader.getId(), lastServerLeaderId);
{code:java}
  @Test
  public void testLateServerStart() throws Exception {
    for (int k = 0; k < 20; k ++) {
      final int numServer = 3;
      ...
      Assert.assertEquals(leader.getId(), lastServerLeaderId);
    }
 }
{code}


> Fix failed UT: testLateServerStart
> ----------------------------------
>
>                 Key: RATIS-1284
>                 URL: https://issues.apache.org/jira/browse/RATIS-1284
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: runzhiwang
>            Assignee: runzhiwang
>            Priority: Major
>
> Run the test 20 times, will failed at the Assert.assertEquals(leader.getId(), lastServerLeaderId);
> {code:java}
>   @Test
>   public void testLateServerStart() throws Exception {
>     for (int k = 0; k < 20; k ++) {
>       final int numServer = 3;
>       ...
>       Assert.assertEquals(leader.getId(), lastServerLeaderId);
>     }
>  }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)