提交 fd27e16c 编写于 作者: T Thomas Stromberg

Reduce mysql retry time to 3s

上级 c9f99ece
......@@ -562,7 +562,7 @@ func validateMySQL(ctx context.Context, t *testing.T, profile string) {
rr, err = Run(t, exec.CommandContext(ctx, "kubectl", "--context", profile, "exec", names[0], "--", "mysql", "-ppassword", "-e", "show databases;"))
return err
}
if err = retry.Expo(mysql, 10*time.Second, 60*time.Second); err != nil {
if err = retry.Expo(mysql, 3*time.Second, 60*time.Second); err != nil {
t.Errorf("mysql failing: %v", err)
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册