Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-59949

Create serverless test suite

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Serverless

    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

      Attachments

        Activity

          People

            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: