login, Decrease Cirros relogin timeout to 5 seconds
There is no need to let Cirros relogin logic wait 10
seconds for the prompt.
Most of the tests do not relogin, so its a waste of time.
Reduce it to 5 seconds.
@@ -36,7 +36,7 @@ func LoginToCirros(vmi *v1.VirtualMachineInstance) error {
if err != nil {
return err
}
- _, _, err = expecter.Expect(regexp.MustCompile(`\$`), 10*time.Second)
+ _, _, err = expecter.Expect(regexp.MustCompile(`\$`), 5*time.Second)
if err == nil {
return nil
}
