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

Create a pass-through python hook that augments ShardingTest with no-Config

    • Sharding NYC
    • Sharding 2022-02-21
    • 3

      This is a continuation of SERVER-63426 and is blocked by it. The goal is to be able to add a test suite for all existing tests with hybrid config server.

      One way could be to have a Python hook that allows to run a pass-through suite that that replaces the ShardingTest constructor with our constructor. All examples of existing hooks are here.

      Find the way how to `eval()` the augmented constructor from SERVER-63426 for every test that runs with this hook. One possible example is hello_failures.py that I did before, however it is not an exact match because the goal is to run something like loading hooks in programs.py . Some work is required to find the best pattern.

            Assignee:
            backlog-server-sharding-nyc [DO NOT USE] Backlog - Sharding NYC
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: