Set env vars for mix test
This commit is contained in:
@@ -49,6 +49,3 @@ config :phoenix, :stacktrace_depth, 20
|
|||||||
|
|
||||||
# Initialize plugs at runtime for faster development compilation
|
# Initialize plugs at runtime for faster development compilation
|
||||||
config :phoenix, :plug_init_mode, :runtime
|
config :phoenix, :plug_init_mode, :runtime
|
||||||
|
|
||||||
config :kafka_ex,
|
|
||||||
brokers: "localhost:9093,localhost:9094,localhost:9095"
|
|
||||||
|
|||||||
@@ -15,3 +15,8 @@ config :phoenix, :plug_init_mode, :runtime
|
|||||||
|
|
||||||
config :kafka_ex,
|
config :kafka_ex,
|
||||||
disable_default_worker: true
|
disable_default_worker: true
|
||||||
|
|
||||||
|
System.put_env("KAFKA_BROKER1_HOST", "localhost")
|
||||||
|
System.put_env("KAFKA_BROKER2_HOST", "localhost")
|
||||||
|
System.put_env("KAFKA_BROKER3_HOST", "localhost")
|
||||||
|
System.put_env("KAFKA_BROKER_PORT", "9092")
|
||||||
|
|||||||
Reference in New Issue
Block a user