public Timeline getStepInstanceTimeline(
      String workflowId,
      long workflowInstanceId,
      long workflowRunId,
      String stepId,
      String stepAttempt) {
    return getStepInstanceFieldByIds(
        StepInstanceField.TIMELINE,
        workflowId,
        workflowInstanceId,
        workflowRunId,
        stepId,
        stepAttempt,
        this::getTimeline);
  }
@Test
  public void testGetStepInstanceTimeline() {
    Timeline timeline = stepDao.getStepInstanceTimeline(TEST_WORKFLOW_ID, 1, 1, "job1", "1");
    assertTrue(timeline.isEmpty());
    Timeline latest = stepDao.getStepInstanceTimeline(TEST_WORKFLOW_ID, 1, 1, "job1", "latest");
    assertEquals(timeline, latest);
  }