sapling/eden/mononoke/server
Ilia Medianikov 58b9ac23ef mononoke: Don't create separate ConfigStore's in tests
Summary:
Atm in tests a separate ConfigStore with file source is created for some configs and then a reference to it is dropped immediately ([see get_config_handle function in mod.rs](https://fburl.com/diffusion/fpkj7ekv)). This is uncomfortable as we may need a reference to e.g. force update configs in tests.

Instead of creating separate stores we can reuse static configerator which already uses local files (in tests).

Reviewed By: krallin

Differential Revision: D26725515

fbshipit-source-id: 24269cd93b7d35216c025807c3f3eb527688b72b
2021-03-03 03:52:41 -08:00
..
context autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
monitoring autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
repo_listener mononoke: Don't create separate ConfigStore's in tests 2021-03-03 03:52:41 -08:00
session_id autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
src common/rust: remove tracing 2021-02-22 09:22:41 -08:00
Cargo.toml autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00