Sahina Bose has posted comments on this change. Change subject: engine: Fixed issue with gluster task scheduler thread waiting ......................................................................
Patch Set 3: (1 comment) .................................................... File backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/gluster/GlusterTasksSyncJobTest.java Line 140: Line 141: tasksSyncJob.updateGlusterAsyncTasks(); Line 142: Mockito.verify(jobRepository, times(0)).updateStep(any(Step.class)); Line 143: Mockito.verify(tasksSyncJob, times(0)).endStepJob(any(Step.class)); Line 144: } I don't know of a way to verify this as the runInternalAction is called in a separate thread and there's no notification that the thread has indeed completed. Line 145: Line 146: @Test Line 147: public void testCreateTasksStartedFromCLIWithErrors() { Line 148: doReturn(getTasks(JobExecutionStatus.STARTED)).when(provider).getTaskListForCluster(CLUSTER_GUIDS[1]); -- To view, visit http://gerrit.ovirt.org/20089 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia94a2cccece1c0a45c46bbd7cc3e1e58c9aa379f Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Ramesh N <rnach...@redhat.com> Gerrit-Reviewer: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches