Skip to content

Commit

Permalink
test: disconnect from server fewer times (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 authored Sep 6, 2024
1 parent 6f045a4 commit 976f1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/disconnect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ suite('Server disconnect', () => {
})

test('Should reconnect automatically when server is disconnected', async () => {
for (let i = 0; i < 10; i++) {
for (let i = 0; i < 3; i++) {
await vscode.commands.executeCommand('flix.simulateDisconnect')

// Wait for the server to disconnect, otherwise the next command will hang
Expand Down

0 comments on commit 976f1c8

Please sign in to comment.