Skip to content

Commit

Permalink
Retry failing debugger tests due to intermittent network issues… (mic…
Browse files Browse the repository at this point in the history
…rosoft#6323)

* Retry
* Add news entry
  • Loading branch information
DonJayamanne authored Jun 25, 2019
1 parent 98945c7 commit 54f2e98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/3 Code Health/6322.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Retry failing debugger test (retry due to intermittent issues on `Azure Pipelines`).
4 changes: 3 additions & 1 deletion src/test/debugger/attach.ptvsd.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,7 @@ suite('Debugging - Attach Debugger', () => {
}
test('Confirm we are able to attach to a running program', async () => {
await testAttachingToRemoteProcess(path.dirname(fileToDebug), path.dirname(fileToDebug), IS_WINDOWS);
});
})
// Retry as tests can timeout on server due to connectivity issues.
.retries(3);
});

0 comments on commit 54f2e98

Please sign in to comment.