You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/integration/unified/unified_spec_runner.go
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,31 @@ var (
61
61
"unpin when a new transaction is started": "Implement GODRIVER-3034",
62
62
"unpin when a non-transaction write operation uses a session": "Implement GODRIVER-3034",
63
63
"unpin when a non-transaction read operation uses a session": "Implement GODRIVER-3034",
64
+
65
+
// DRIVERS-2722: Setting "maxTimeMS" on a command that creates a cursor
66
+
// also limits the lifetime of the cursor. That may be surprising to
67
+
// users, so omit "maxTimeMS" from operations that return user-managed
68
+
// cursors.
69
+
"timeoutMS can be overridden for a find": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
70
+
"timeoutMS can be configured for an operation - find on collection": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
71
+
"timeoutMS can be configured for an operation - aggregate on collection": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
72
+
"timeoutMS can be configured for an operation - aggregate on database": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
73
+
"timeoutMS can be configured on a MongoClient - find on collection": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
74
+
"timeoutMS can be configured on a MongoClient - aggregate on collection": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
75
+
"timeoutMS can be configured on a MongoClient - aggregate on database": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
76
+
"operation is retried multiple times for non-zero timeoutMS - find on collection": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
77
+
"operation is retried multiple times for non-zero timeoutMS - aggregate on collection": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
78
+
"operation is retried multiple times for non-zero timeoutMS - aggregate on database": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
79
+
"timeoutMS applied to find command": "maxTimeMS is disabled on find and aggregate. See DRIVERS-2722.",
80
+
81
+
// DRIVERS-2953: This test requires that the driver sends a "getMore"
82
+
// with "maxTimeMS" set. However, "getMore" can only include "maxTimeMS"
83
+
// for tailable awaitData cursors. Including "maxTimeMS" on "getMore"
84
+
// for any other cursor type results in a server error:
85
+
//
86
+
// (BadValue) cannot set maxTimeMS on getMore command for a non-awaitData cursor
87
+
//
88
+
"Non-tailable cursor lifetime remaining timeoutMS applied to getMore if timeoutMode is unset": "maxTimeMS can't be set on a getMore. See DRIVERS-2953",
0 commit comments