Skip to content
Merged
Changes from all commits
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
fix(coderd/workspaceapps/apptest): bump sleep in testReconnectingPTY …
…to reduce test flakes
  • Loading branch information
johnstcn committed Sep 26, 2023
commit 9ae4f0d6a593e850fcfccc6386477dddec7dabc3
2 changes: 1 addition & 1 deletion coderd/workspaceapps/apptest/apptest.go
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ func testReconnectingPTY(ctx context.Context, t *testing.T, client *codersdk.Cli

// Brief pause to reduce the likelihood that we send keystrokes while
// the shell is simultaneously sending a prompt.
time.Sleep(100 * time.Millisecond)
time.Sleep(500 * time.Millisecond)

data, err = json.Marshal(codersdk.ReconnectingPTYRequest{
Data: "echo test\r\n",
Expand Down