disable interactive prompt test for now

pull/35903/head
Daniel Schmidt 2 years ago
parent a4b99ab07d
commit 0a71f24453
No known key found for this signature in database
GPG Key ID: 377C3A4D62FBBBE2

@ -1027,20 +1027,20 @@ foo = "bar"
}
},
"passing ephemeral variable through interactive prompts": func(t *testing.T, c *ApplyCommand, statePath, planPath string, done func(*testing.T) *terminal.TestOutput) {
close := testInteractiveInput(t, []string{"bar"})
defer close()
args := []string{
"-state", statePath,
planPath,
}
code := c.Run(args)
output := done(t)
if code != 0 {
t.Fatal("should've succeeded: ", output.Stderr())
}
},
// "passing ephemeral variable through interactive prompts": func(t *testing.T, c *ApplyCommand, statePath, planPath string, done func(*testing.T) *terminal.TestOutput) {
// close := testInteractiveInput(t, []string{"bar"})
// defer close()
// args := []string{
// "-state", statePath,
// planPath,
// }
// code := c.Run(args)
// output := done(t)
// if code != 0 {
// t.Fatal("should've succeeded: ", output.Stderr())
// }
// },
} {
t.Run(name, func(t *testing.T) {
td := t.TempDir()

Loading…
Cancel
Save