Add send timeout to the expecter
@@ -2544,6 +2544,7 @@ func NewConsoleExpecter(virtCli kubecli.KubevirtClient, vmi *v1.VirtualMachineIn
})
}()
+ opts = append(opts, expect.SendTimeout(timeout))
return expect.SpawnGeneric(&expect.GenOptions{
In: vmiWriter,
Out: expecterReader,
