-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Server Tooling & Methods
-
ALL
-
18
For backward compatibility reasons the getLastError command returns ok: 1.0 when it hits wtimeout.
Because of this the assert.commandWorked() utility does not throw an exception when it happens. It should use the error code or message to detect the failure in this case.
- related to
-
SERVER-30879 assert.commandWorked() should check for writeConcernError()
- Closed