@Test
public void shouldNotTriggerBackfillsIfRunInTransactionFails() throws Exception {

  final Workflow workflow = createWorkflow(WORKFLOW_ID1);
  initWorkflow(workflow);
  doThrow(new IOException()).when(storage).runInTransactionWithRetries(any());
  backfills.put(BACKFILL_1.id(), BACKFILL_1);
  backfillTriggerManager.tick();
  verifyZeroInteractions(triggerListener);
}