Skip to content

Commit a85a5fa

Browse files
committed
update regex
1 parent 8efe1ef commit a85a5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/assorted/server_discovery_and_monitoring.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('Server Discovery and Monitoring', function () {
116116

117117
expect(aOutcome.type).to.equal('Unknown');
118118
expect(aOutcome.error).to.match(
119-
/primary marked stale due to electionId\/setVersion mismatch: server setVersion: \d+, server electionId: \d{24}, topology setVersion: \d, topology electionId: \d{24}/
119+
/primary marked stale due to electionId\/setVersion mismatch: server setVersion: \d+, server electionId: \d{24}, topology setVersion: \d+, topology electionId: \d{24}/
120120
);
121121
});
122122
});

0 commit comments

Comments
 (0)