From 117e52bde5549148135fe8b8ce6ba1dd01abecbd Mon Sep 17 00:00:00 2001 From: Michael Minella Date: Fri, 2 Aug 2019 22:02:10 -0500 Subject: [PATCH] Updates --- .../springframework/batch/core/jsr/step/DecisionStepTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/step/DecisionStepTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/step/DecisionStepTests.java index 7af92d6d7c..956fd483fe 100644 --- a/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/step/DecisionStepTests.java +++ b/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/step/DecisionStepTests.java @@ -109,7 +109,7 @@ public void testDecisionAfterFlow() throws Exception { @Test public void testDecisionAfterSplit() throws Exception { JobExecution execution = runJob("DecisionStepTests-decisionAfterSplit-context", new Properties(), 10000L); - org.springframework.batch.core.JobExecution jobExecution = (org.springframework.batch.core.JobExecution) ReflectionTestUtils.getField(execution, "jobExecution"); + org.springframework.batch.core.JobExecution jobExecution = (org.springframework.batch.core.JobExecution) ReflectionTestUtils.getField(execution, "execution"); assertEquals(String.format("Received a %s because of %s", execution.getBatchStatus(), jobExecution.getExitStatus().getExitDescription()), BatchStatus.COMPLETED, execution.getBatchStatus()); assertEquals(4, BatchRuntime.getJobOperator().getStepExecutions(execution.getExecutionId()).size()); assertEquals(2, StepExecutionCountingDecider.previousStepCount);