Skip to content

Commit b5e3adf

Browse files
committed
Add timeout of 10 secs
This commit adds 10 secs to the RunContainerTaskForReadyLine function Signed-off-by: Arjun Raja Yogidas <[email protected]>
1 parent 3105cfd commit b5e3adf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: benchmark/framework/containerd_utils.go

+2
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ func (proc *ContainerdProcess) RunContainerTaskForReadyLine(
209209
stdoutScanner := bufio.NewScanner(taskDetails.stdoutReader)
210210
stderrScanner := bufio.NewScanner(taskDetails.stderrReader)
211211

212+
time.Sleep(10 * time.Second)
213+
212214
exitStatusC, err := taskDetails.task.Wait(ctx)
213215
if err != nil {
214216
return nil, err

0 commit comments

Comments
 (0)