-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Serverless
- Create a new folder jstests/serverless where we will put serverless tests that use this fixture.
- Create a new file buildscripts/resmokeconfig/suites/serverless.yml. The roots should be` jstests/serverless/*.js`. Both sharding.yml and replica_sets.yml are useful references.
- Create a test to be run in this new suite.
- If the mongoStore feature flag is enabled, this test should start up the server side components of a serverless pod using the new serverless test fixture, and pass `setParameter: "acceptOpMsgSecurityToken=true"` to each of the components.
- Set a security token on the connection to mongoqd.
- Write a test that asserts that a few basic commands succeed i.e. CRUD ops, create/drop collection. Also assert that sharding specific commands fail i.e. shardCollection, moveChunk, movePrimary.
- auth/security_token.js is a good reference for the feature flag and setting the security token.
- Add this suite to be run in the required builders in evergreen
- Create a new serverless task
- depends on
-
SERVER-59939 Create javascript test fixture for serverless topology
- Closed
- duplicates
-
SERVER-61500 Add new 'serverless' test suite for tests under jstests/serverless
- Closed