centraldogma icon indicating copy to clipboard operation
centraldogma copied to clipboard

Test failure: ZooKeeperCommandExecutorTest.hierarchicalQuorumsWithFailOver()

Open minwoox opened this issue 3 years ago • 0 comments

ZooKeeperCommandExecutorTest > hierarchicalQuorumsWithFailOver() FAILED
    org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a lambda expression in com.linecorp.centraldogma.server.internal.replication.ZooKeeperCommandExecutorTest that uses com.linecorp.centraldogma.server.internal.replication.Replica, com.linecorp.centraldogma.server.internal.replication.Replicacom.linecorp.centraldogma.server.command.Command 
    Wanted but not invoked:
    function.apply(
        CreateRepositoryCommand{type=CREATE_REPOSITORY, timestamp=1617084941865, author=Author["System" <[email protected]>], projectName=project, repositoryName=repo1}
    );
    -> at com.linecorp.centraldogma.server.internal.replication.ZooKeeperCommandExecutorTest.lambda$hierarchicalQuorumsWithFailOver$15(ZooKeeperCommandExecutorTest.java:295)
    Actually, there were zero interactions with this mock.
     within 10 seconds.
        at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
        at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
        at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
        at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
        at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:679)
        at com.linecorp.centraldogma.server.internal.replication.ZooKeeperCommandExecutorTest.hierarchicalQuorumsWithFailOver(ZooKeeperCommandExecutorTest.java:295)
        Caused by:
        Wanted but not invoked:
        function.apply(
            CreateRepositoryCommand{type=CREATE_REPOSITORY, timestamp=1617084941865, author=Author["System" <[email protected]>], projectName=project, repositoryName=repo1}
        );
        -> at com.linecorp.centraldogma.server.internal.replication.ZooKeeperCommandExecutorTest.lambda$hierarchicalQuorumsWithFailOver$15(ZooKeeperCommandExecutorTest.java:295)
        Actually, there were zero interactions with this mock.
            at com.linecorp.centraldogma.server.internal.replication.ZooKeeperCommandExecutorTest.lambda$hierarchicalQuorumsWithFailOver$15(ZooKeeperCommandExecutorTest.java:295)

minwoox avatar Mar 30 '21 07:03 minwoox