[ 
https://issues.apache.org/jira/browse/GOBBLIN-2057?focusedWorklogId=918624&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-918624
 ]

ASF GitHub Bot logged work on GOBBLIN-2057:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/May/24 22:01
            Start Date: 09/May/24 22:01
    Worklog Time Spent: 10m 
      Work Description: arjun4084346 commented on code in PR #3938:
URL: https://github.com/apache/gobblin/pull/3938#discussion_r1596030629


##########
gobblin-service/src/test/java/org/apache/gobblin/service/modules/orchestration/proc/ResumeDagProcTest.java:
##########
@@ -114,10 +117,8 @@ public void resumeDag() throws IOException, 
URISyntaxException {
             .filter(a -> a.getMethod().getName().equals("addSpec"))
             .count())
         .sum();
-    long addedDagNodeStates = 
Mockito.mockingDetails(this.dagManagementStateStore).getInvocations().stream()
-        .filter(a -> 
a.getMethod().getName().equals("addDagNodeState")).count();
 
     Assert.assertEquals(resumedJobCount, expectedNumOfResumedJobs);

Review Comment:
   there are multiple objects on which invocations is to be find and summed. 
not sure if a direct mockito method provides that functionality





Issue Time Tracking
-------------------

    Worklog Id:     (was: 918624)
    Time Spent: 2h 10m  (was: 2h)

> create resume dag proc
> ----------------------
>
>                 Key: GOBBLIN-2057
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2057
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to