[TEST] Add missing verification in AutoDetectResultProcessorTests
Original commit: elastic/x-pack-elasticsearch@22b620a947aa00e17b63326383de7e1ecfa43a7b
@@ -272,6 +272,7 @@ public class AutoDetectResultProcessorTests extends ESTestCase {
new JobUpdate.Builder(JOB_ID).setModelSnapshotId("a_snapshot_id").build());
verify(client).execute(same(UpdateJobAction.INSTANCE), eq(expectedJobUpdateRequest), any());
+ verify(persister).commitResultWrites(JOB_ID);
verifyNoMoreInteractions(persister);
}
