Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hariso committed Aug 21, 2024
1 parent ac28fab commit d3fe994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/pipeline/lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ func TestServiceLifecycle_StopAll_Recovering(t *testing.T) {
// wait for pipeline to finish consuming records from the source
time.Sleep(100 * time.Millisecond)

pl.Status = StatusRecovering
pl.SetStatus(StatusRecovering)
tc.stopFn(ctx, is, ps, pl.ID)

// wait for pipeline to finish
Expand All @@ -426,7 +426,7 @@ func TestServiceLifecycle_StopAll_Recovering(t *testing.T) {
is.Equal("", pl.Error)
}

is.Equal(tc.want, pl.Status)
is.Equal(tc.want, pl.GetStatus())
}

testCases := []testCase{
Expand Down

0 comments on commit d3fe994

Please sign in to comment.