MCPcopy
hub / github.com/linkedin/Burrow / setupConfiguration

Function setupConfiguration

core/internal/httpserver/config_test.go:23–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21)
22
23func setupConfiguration() {
24 viper.Reset()
25 viper.Set("client-profile.test.client-id", "testid")
26 viper.Set("storage.teststorage.class-name", "inmemory")
27 viper.Set("consumer.testconsumer.class-name", "kafka_zk")
28 viper.Set("consumer.testconsumer.client-profile", "test")
29 viper.Set("cluster.testcluster.class-name", "kafka")
30 viper.Set("cluster.testcluster.client-profile", "test")
31 viper.Set("evaluator.testevaluator.class-name", "caching")
32 viper.Set("notifier.testnotifier.class-name", "null")
33}
34
35func TestHttpServer_configMain(t *testing.T) {
36 coordinator := fixtureConfiguredCoordinator()

Calls

no outgoing calls

Tested by

no test coverage detected