@ -237,6 +237,7 @@ func (provider *promptACProvider) prompt(hint string) (string, error) {
case <-finished:
return res, err
case <-timedOut:
console.println("ERROR input time out")
return "", errors.New("timed out")
}
@ -240,7 +240,7 @@ func TestFileACProvider_getAwsConfig(t *testing.T) {
// To successfully run this test, need to set the AWS default configuration and set up kms
// key and replace keyId field.
func TestKMSEncryption(t *testing.T) {
//t.SkipNow()
t.SkipNow()
client, err := getSharedKMSClient()
if err != nil {
t.Fatal(err)
@ -12,7 +12,7 @@ const (
const (
// The default timeout for kms config prompt. The timeout is introduced
// for security concern.
defKmsPromptTimeout = 10 * time.Second
defKmsPromptTimeout = 60 * time.Second
)