Create serverless test suite

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • 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

            Assignee:
            [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            Janna Golden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: