Skip to content

Commit 24ddbe8

Browse files
committed
fixup: account for new durationMs field in tests
1 parent 43518b9 commit 24ddbe8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/compass-e2e-tests/tests/connection.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,13 +1069,15 @@ describe('SRV connectivity', function () {
10691069
const srvResolution = resolutionDetails.find((q: any) => q.query === 'SRV');
10701070
const txtResolution = resolutionDetails.find((q: any) => q.query === 'TXT');
10711071
expect(srvResolution).to.deep.equal({
1072+
durationMs: +srvResolution.durationMs,
10721073
query: 'SRV',
10731074
hostname: '_mongodb._tcp.test1.test.build.10gen.cc',
10741075
error: null,
10751076
wasNativelyLookedUp: true,
10761077
});
10771078
txtResolution.error = !!txtResolution.error; // Do not assert exact error message
10781079
expect(txtResolution).to.deep.equal({
1080+
durationMs: +txtResolution.durationMs,
10791081
query: 'TXT',
10801082
hostname: 'test1.test.build.10gen.cc',
10811083
error: true,

0 commit comments

Comments
 (0)