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

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

                Author: ASF GitHub Bot
            Created on: 15/Jul/24 23:50
            Start Date: 15/Jul/24 23:50
    Worklog Time Spent: 10m 
      Work Description: umustafi commented on code in PR #4002:
URL: https://github.com/apache/gobblin/pull/4002#discussion_r1678512147


##########
gobblin-service/src/test/java/org/apache/gobblin/service/modules/orchestration/proc/LaunchDagProcTest.java:
##########
@@ -135,6 +138,10 @@ public void launchDagWithMultipleParallelJobs() throws 
IOException, InterruptedE
         flowCompilationValidationHelper);
 
     launchDagProc.process(this.dagManagementStateStore);
+
+    // Verify adhoc flow spec will be removed from catalog
+    
Mockito.verify(this.dagManagementStateStore,Mockito.times(2)).removeFlowSpec(any());

Review Comment:
   I couldn't switch to testng because you can't use @Before/AfterClass 
annotations with nonstatic methods (for setUp and teardown). Using that 
function didn't work but resetting the DGMSS between methods worked. 





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

    Worklog Id:     (was: 926008)
    Time Spent: 40m  (was: 0.5h)

> Delete adhoc flowSpecs from FlowCatalog for DagProcEngine
> ---------------------------------------------------------
>
>                 Key: GOBBLIN-2111
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2111
>             Project: Apache Gobblin
>          Issue Type: Bug
>          Components: gobblin-service
>            Reporter: Urmi Mustafi
>            Assignee: Abhishek Tiwari
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> DagProcessingEngine fails to remove adhoc flow specs from catalog after 
> checkpointing the dag. 



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

Reply via email to