restate icon indicating copy to clipboard operation
restate copied to clipboard

Allow Bifrost to run w/o statically configured metadata in tests

Open tillrohrmann opened this issue 1 year ago • 1 comments

With #1338, we start storing Bifrost's logs configuration in our metadata store. Additionally, we prepopulate this configuration with a static value when using the TestCoreEnv. The configuration also determines which ProviderKind is used so that the default provider kind, configured via the Bifrost Options, is ignored. This is a bit problematic for testing different Loglet implementations (in memory vs. local loglet) because by default the in memory loglet is configured (when using TestCoreEnv). It would be better if the default provider kind would be respected. One way to do it is to allow Bifrost to modify the Logs configuration if a chain for a given LogId is not present. This should not affect running the server binary since we are creating a static logs configuration in this case.

tillrohrmann avatar Apr 02 '24 11:04 tillrohrmann

Not sure whether this is still relevant or hasn't been changed already.

tillrohrmann avatar Jul 29 '24 09:07 tillrohrmann