Skip to content

Commit bb1a8f3

Browse files
author
Swapnil
committed
update test
1 parent 849991f commit bb1a8f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gobblin-temporal/src/test/java/org/apache/gobblin/temporal/yarn/YarnServiceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ public void testHandleJobFailureEvent() throws Exception {
143143

144144
// Waiting for the event to be handled
145145
Thread.sleep(100);
146-
Assert.assertEquals(yarnService.getJobState().getJobName(),"name");
147-
Assert.assertEquals(yarnService.getJobState().getJobId(),"id");
148-
Assert.assertEquals(yarnService.getJobIssuesSummary(),"summary");
146+
Assert.assertEquals(yarnService.jobSummaryEvent.getJobState().getJobName(),"name");
147+
Assert.assertEquals(yarnService.jobSummaryEvent.getJobState().getJobId(),"id");
148+
Assert.assertEquals(yarnService.jobSummaryEvent.getIssuesSummary(),"summary");
149149
}
150150
}

0 commit comments

Comments
 (0)