Skip to content

bug: Don't try to handle SIGINT when prompting for passwords #1498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 18, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bump password prompt test delay to 100ms
  • Loading branch information
dwahler committed May 17, 2022
commit cc81c7ed6437620be9d82fdae73ea680c06d2c96
2 changes: 1 addition & 1 deletion cli/cliui/prompt_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestPasswordTerminalState(t *testing.T) {
defer process.Kill()

ptty.ExpectMatch("Password: ")
time.Sleep(10 * time.Millisecond) // wait for child process to turn off echo and start reading input
time.Sleep(100 * time.Millisecond) // wait for child process to turn off echo and start reading input

termios, err := unix.IoctlGetTermios(int(ptty.Input().Reader.Fd()), unix.TCGETS)
require.NoError(t, err)
Expand Down