Files
neon/test_runner/fixtures
Alexander Bayandin 24a911d3f8 test_runner: add from_repo_dir method (#6087)
We need a reliable way to restore a project state (in this context, I
mean data on pageservers, safekeepers, and remote storage) from a
snapshot. The existing method (that we use in `test_compatibility`)
heavily relies on config files, which makes it harder to add/change
fields in the config.
The proposed solution uses config file only to get `default_tenant_id`
and `branch_name_mappings`.

- Add `NeonEnvBuilder#from_repo_dir` method, which allows using the
`neon_env_builder` fixture with data from a snapshot.
- Use `NeonEnvBuilder#from_repo_dir` in compatibility tests

Requires for https://github.com/neondatabase/neon/issues/6033
2023-12-14 16:38:45 +00:00
..
2021-05-03 11:31:32 -07:00
2023-09-12 15:11:32 +02:00
2023-08-02 12:38:12 +03:00