You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2019/03/05 12:45:00 UTC

[jira] [Created] (HDDS-1219) TestContainerActionsHandler.testCloseContainerAction has an intermittent failure

Elek, Marton created HDDS-1219:
----------------------------------

             Summary: TestContainerActionsHandler.testCloseContainerAction has an intermittent failure
                 Key: HDDS-1219
                 URL: https://issues.apache.org/jira/browse/HDDS-1219
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
            Reporter: Elek, Marton
            Assignee: Elek, Marton
             Fix For: 0.4.0


It's failed multiple times during the CI builds:

{code}
Error Message

Wanted but not invoked:
closeContainerEventHandler.onMessage(
    #1,
    org.apache.hadoop.hdds.server.events.EventQueue@3d3fcdb0
);
-> at org.apache.hadoop.hdds.scm.container.TestContainerActionsHandler.testCloseContainerAction(TestContainerActionsHandler.java:64)
Actually, there were zero interactions with this mock.
{code}

The fix is easy: we should call queue.processAll(1000L) to wait for the processing of all the events.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org