@@ -22,7 +22,7 @@ import { LEGACY_HELLO_COMMAND } from '../../../src/constants';
2222import { Topology } from '../../../src/sdam/topology' ;
2323import { HostAddress , ns } from '../../../src/utils' ;
2424import * as mock from '../../tools/mongodb-mock/index' ;
25- import { processTick , sleep } from '../../tools/utils' ;
25+ import { processTick , runtime , sleep } from '../../tools/utils' ;
2626import { assert as test , setupDatabase } from '../shared' ;
2727
2828const commonConnectOptions = {
@@ -49,7 +49,10 @@ describe('Connection', function () {
4949 ...commonConnectOptions ,
5050 connectionType : Connection ,
5151 ...this . configuration . options ,
52- metadata : makeClientMetadata ( [ ] , { } )
52+ metadata : makeClientMetadata ( [ ] , {
53+ runtime
54+ } ) ,
55+ runtime
5356 } ;
5457
5558 let conn ;
@@ -71,7 +74,8 @@ describe('Connection', function () {
7174 connectionType : Connection ,
7275 ...this . configuration . options ,
7376 monitorCommands : true ,
74- metadata : makeClientMetadata ( [ ] , { } )
77+ runtime,
78+ metadata : makeClientMetadata ( [ ] , { runtime } )
7579 } ;
7680
7781 let conn ;
@@ -102,7 +106,10 @@ describe('Connection', function () {
102106 connectionType : Connection ,
103107 ...this . configuration . options ,
104108 monitorCommands : true ,
105- metadata : makeClientMetadata ( [ ] , { } )
109+ runtime,
110+ metadata : makeClientMetadata ( [ ] , {
111+ runtime
112+ } )
106113 } ;
107114
108115 let conn ;
0 commit comments