Closed kevinAlbs closed 1 month ago
Follow-up to https://github.com/mongodb/specifications/pull/1534. Skip tests running bulkWrite on Atlas Serverless.
bulkWrite
CLOUDP-256344 blocks bulkWrite in Atlas Serverless. This can be seen with mongosh:
Atlas test> db.version() 8.0.0-rc17 Atlas test> db.adminCommand({bulkWrite: 1, ops: [{insert: 0, document: {foo: "bar"}}], nsInfo: [{ns: "db.coll"}]}) MongoServerError[AtlasError]: (Unauthorized) not authorized on admin to execute command { bulkWrite: 1, ops: [[{insert 0} {document [{foo bar}]}]], nsInfo: [[{ns db.coll}]], lsid: { id: {4 [149 137 108 46 117 126 74 218 185 29 250 199 40 40 23 131]} }, $clusterTime: { clusterTime: {1724242370 2}, signature: { hash: {0 [31 9 179 21 13 4 43 10 142 148 251 52 224 5 220 242 224 236 216 151]}, keyId: 7364078628537106432.000000 } }, $db: "admin" }
Some unified tests required increasing schemaVersion to 1.4 to include support specifying serverless as a runOnRequirement.
schemaVersion
1.4
serverless
runOnRequirement
Please complete the following before merging:
@shruti-sridhar may I request trying these test files with the Python implementation? C does not currently test serverless in Evergreen, and Rust has an open ticket to investigate serverless test failures.
Summary
Follow-up to https://github.com/mongodb/specifications/pull/1534. Skip tests running
bulkWrite
on Atlas Serverless.Background & Motivation
CLOUDP-256344 blocks
bulkWrite
in Atlas Serverless. This can be seen with mongosh:Some unified tests required increasing
schemaVersion
to1.4
to include support specifyingserverless
as arunOnRequirement
.Please complete the following before merging:
[ ] Update changelog.