Skip to content

Commit c4b9f35

Browse files
committed
Adding back the after block in e2e-direct tests
1 parent bd0bd7b commit c4b9f35

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/e2e-tests/test/e2e-direct.spec.ts

+7
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ describe('e2e direct connection', function () {
8282
await shell.executeLine('db.testcollection.insertOne({})');
8383
shell.writeInputLine('exit');
8484
});
85+
after(async function () {
86+
const shell = this.startTestShell({
87+
args: [await rs0.connectionString()],
88+
});
89+
await shell.executeLine(`db.getSiblingDB("${dbname}").dropDatabase()`);
90+
shell.writeInputLine('exit');
91+
});
8592

8693
context('connecting to secondary members directly', function () {
8794
it('works when specifying a connection string', async function () {

0 commit comments

Comments
 (0)