Alexander Bayandin
6acbee2368
test_runner: add from_repo_dir method ( #6087 )
...
## Problem
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`.
## Summary of changes
- 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-12 16:24:13 +00:00
..
2023-09-12 15:11:32 +02:00
2023-07-20 13:39:19 -04:00
2023-12-07 12:27:16 +00:00
2023-12-07 12:27:16 +00:00
2023-11-23 18:53:03 +00:00
2023-11-08 19:48:57 +00:00
2023-04-13 14:34:29 +03:00
2023-11-20 15:41:37 +01:00
2023-07-03 15:21:10 +03:00
2023-12-07 12:27:16 +00:00
2023-12-07 12:27:16 +00:00
2023-10-27 10:47:11 +01:00
2023-12-07 12:27:16 +00:00
2023-04-13 14:34:29 +03:00
2023-09-08 16:19:57 +01:00
2023-12-12 16:24:13 +00:00
2023-12-11 15:13:27 +00:00
2023-04-13 14:34:29 +03:00
2023-09-15 16:50:57 +03:00
2023-04-13 14:34:29 +03:00
2023-11-20 22:39:47 +00:00
2023-09-27 10:00:21 +01:00
2023-11-27 18:57:58 +00:00
2023-12-07 12:27:16 +00:00
2023-04-13 14:34:29 +03:00
2023-11-30 17:31:03 +00:00
2023-10-17 10:04:56 +01:00
2023-12-08 17:32:16 +00:00
2023-08-09 16:27:53 +01:00
2023-12-07 12:27:16 +00:00
2023-09-08 16:19:57 +01:00
2023-11-20 15:41:37 +01:00
2023-09-15 11:17:18 +01:00
2023-12-07 12:27:16 +00:00
2023-09-19 21:55:36 +03:00
2023-11-23 08:59:19 +02:00
2023-04-25 14:10:18 +02:00
2023-12-12 14:24:21 +02:00
2023-11-10 13:38:44 +01:00
2023-07-21 21:20:53 +03:00
2023-12-07 12:27:16 +00:00
2023-11-26 08:37:01 +00:00
2023-11-29 19:38:03 +02:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-12-08 14:52:37 +00:00
2023-12-07 12:27:16 +00:00
2023-04-13 14:34:29 +03:00
2023-12-11 16:55:43 +00:00
2023-09-28 12:25:20 +03:00
2023-12-04 17:22:26 +00:00
2023-11-07 16:57:26 +00:00
2023-12-11 16:55:43 +00:00
2023-07-18 12:56:40 +03:00
2023-08-10 15:24:43 +03:00
2023-12-05 18:49:24 +02:00
2023-04-13 14:34:29 +03:00
2023-11-30 13:14:33 +00:00
2023-09-16 18:05:35 +03:00
2023-11-15 09:15:59 +00:00
2023-11-15 09:15:59 +00:00
2023-09-08 16:19:57 +01:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-31 07:43:12 +00:00
2023-12-07 12:27:16 +00:00
2023-07-18 12:56:40 +03:00
2023-08-03 17:20:24 +03:00
2023-08-10 15:24:43 +03:00
2023-12-08 17:32:16 +00:00
2023-12-08 14:52:37 +00:00
2023-12-08 14:52:37 +00:00
2023-12-08 14:52:37 +00:00
2023-09-29 09:15:43 +01:00
2023-06-15 17:30:12 +03:00
2023-12-08 14:52:37 +00:00
2023-12-08 14:52:37 +00:00
2023-10-26 14:48:44 +01:00
2023-12-08 14:52:37 +00:00
2023-12-03 15:21:44 +00:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-09-15 17:47:29 +03:00
2023-11-20 15:41:37 +01:00
2023-12-08 14:52:37 +00:00
2023-06-19 15:59:38 +04:00
2023-11-30 22:32:04 +01:00
2023-09-15 11:17:18 +01:00