Skip to content

Commit d8a77c5

Browse files
committed
Corrected test
1 parent 2a43735 commit d8a77c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/sessions/tests/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,16 +254,16 @@ and configure a `MongoClient` with default options.
254254

255255
Snapshot sessions tests require server of version 5.0 or higher and replica set or a sharded cluster deployment.
256256

257-
- `client.startSession(snapshot = false, snapshotTime = new Timestamp(1))`
258-
- Assert that an error was raised by driver
257+
- Start a session by calling `startSession` with `snapshot = false` and `snapshotTime = new Timestamp(1)`.
258+
- Assert that a client side error was raised.
259259

260260
### 22. Retrieving `snapshotTime` on a non-snapshot session raises an error
261261

262262
Snapshot sessions tests require server of version 5.0 or higher and replica set or a sharded cluster deployment.
263263

264-
- `client.startSession(snapshot = false)`
265-
- `client.snapshotTime`
266-
- Assert that an error was raised by driver
264+
- Start a session by calling `startSession` on with `snapshot = false`.
265+
- Try to access the session's snapshot time.
266+
- Assert that a client side error was raised.
267267

268268
## Changelog
269269

0 commit comments

Comments
 (0)