[SERVER-59949] Create serverless test suite Created: 14/Sep/21  Updated: 06/Dec/22  Resolved: 19/Nov/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: [DO NOT USE] Backlog - Server Serverless (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-59939 Create javascript test fixture for se... Closed
Duplicate
duplicates SERVER-61500 Add new 'serverless' test suite for t... Closed
Gantt Dependency
Assigned Teams:
Serverless
Participants:

 Description   
  • 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

Generated at Thu Feb 08 05:48:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.