HDDS-1219. TestContainerActionsHandler.testCloseContainerAction has an intermittent failure. Contributed by Elek, Marton.

This commit is contained in:
Márton Elek 2019-03-05 13:45:33 +01:00
parent 0aefe2846f
commit 296259e9b3
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28

View File

@ -59,7 +59,7 @@ public void testCloseContainerAction() {
TestUtils.randomDatanodeDetails(), cap); TestUtils.randomDatanodeDetails(), cap);
queue.fireEvent(SCMEvents.CONTAINER_ACTIONS, containerActions); queue.fireEvent(SCMEvents.CONTAINER_ACTIONS, containerActions);
queue.processAll(1000L);
verify(closeContainerEventHandler, times(1)) verify(closeContainerEventHandler, times(1))
.onMessage(ContainerID.valueof(1L), queue); .onMessage(ContainerID.valueof(1L), queue);