Skip to content

Commit

Permalink
test log output
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Oct 8, 2024
1 parent 8d27637 commit 74aa0e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/e2e-tests/test/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1971,15 +1971,16 @@ describe('e2e', function () {
let currentOpCall = await currentOpShell.executeLine(`db.currentOp()`);

currentOpShell.assertNoErrors();
expect(currentOpCall).to.include(`sleep(${OPERATION_TIME})`);

// TODO: Remove this
console.log(currentOpCall);
expect(currentOpCall).to.include('testProjection');

await currentCommand;

currentOpCall = await currentOpShell.executeLine(`db.currentOp()`);

currentOpShell.assertNoErrors();
expect(currentOpCall).not.to.include(`sleep(${OPERATION_TIME})`);
expect(currentOpCall).not.to.include('testProjection');
});

Expand Down

0 comments on commit 74aa0e0

Please sign in to comment.