Skip to content

Commit 1f43357

Browse files
authored
fix(coderd/workspaceapps/apptest): bump sleep in testReconnectingPTY to reduce test flakes (#9875)
1 parent b0b9d32 commit 1f43357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/workspaceapps/apptest/apptest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ func testReconnectingPTY(ctx context.Context, t *testing.T, client *codersdk.Cli
14191419

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

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

0 commit comments

Comments
 (0)