Skip to content

Commit

Permalink
bugs fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-khare-mongoDB committed Jun 18, 2024
1 parent 41e8587 commit 96b5c95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ export function needsRetryableWriteLabel(
// pre-4.4 server, then the driver adds an error label for every valid case
// execute operation will only inspect the label, code/message logic is handled here
if (error instanceof MongoNetworkError) {
return !isSharded;
return true;
}

if (error instanceof MongoError) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,6 @@ async function turnOffFailPoint(client, name) {
});
}

describe('Retryable Writes (unified)', function () {
describe.only('Retryable Writes (unified)', function () {
runUnifiedSuite(loadSpecTests(path.join('retryable-writes', 'unified')));
});

0 comments on commit 96b5c95

Please sign in to comment.