When running with SBE enabled, error_propagation.js gets an unexpected error code:
[js_test:error_propagation] uncaught exception: Error: command did not fail with any of the following codes [ 16554 ] {
[js_test:error_propagation] "ok" : 0,
[js_test:error_propagation] "errmsg" : "PlanExecutor error during aggregation :: caused by :: only numbers and dates are allowed in an $add expression",
[js_test:error_propagation] "code" : 4974201,
[js_test:error_propagation] "codeName" : "Location4974201",
[js_test:error_propagation] "$clusterTime" : {
[js_test:error_propagation] "clusterTime" : Timestamp(1617737256, 12),
[js_test:error_propagation] "signature" : {
[js_test:error_propagation] "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
[js_test:error_propagation] "keyId" : NumberLong(0)
[js_test:error_propagation] }
[js_test:error_propagation] },
[js_test:error_propagation] "operationTime" : Timestamp(1617737256, 12)
[js_test:error_propagation] } :
[js_test:error_propagation] _getErrorWithCode@src/mongo/shell/utils.js:25:13
[js_test:error_propagation] doassert@src/mongo/shell/assert.js:18:14
[js_test:error_propagation] _assertCommandFailed@src/mongo/shell/assert.js:787:21
[js_test:error_propagation] assert.commandFailedWithCode@src/mongo/shell/assert.js:833:16
[js_test:error_propagation] @jstests/sharding/error_propagation.js:21:1
[js_test:error_propagation] @jstests/sharding/error_propagation.js:1:2
[js_test:error_propagation] failed to load: jstests/sharding/error_propagation.js
[js_test:error_propagation] exiting with code -3
- related to
-
SERVER-55010 Enable sharding suite against SBE build variant
-
- Closed
-