Skip to content

Commit

Permalink
test: fix executor StreamBuild test w/ k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Feb 26, 2023
1 parent 5244edb commit bd0c2a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions executor/linux/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1940,6 +1940,9 @@ func TestLinux_StreamBuild(t *testing.T) {
if err != nil {
t.Errorf("Kubernetes runtime SetupMock returned err: %v", err)
}

// Runtime.StreamBuild calls PodTracker.Start after the PodTracker is marked Ready
_runtime.(kubernetes.MockKubernetesRuntime).MarkPodTrackerReady()
}

if test.earlyBuildDone {
Expand Down

0 comments on commit bd0c2a4

Please sign in to comment.