|
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.
|