Commit 386ea3d5 authored by Matthew Sykes's avatar Matthew Sykes
Browse files

[FAB-13163] propagate caller environ to orderer



The environment should be propagated from the integration test framework
to the processes that are spawned from it.

Change-Id: Ib2c2bc3f0063f196af34d9e221db4a5d588b0793
Signed-off-by: default avatarMatthew Sykes <sykesmat@us.ibm.com>
parent c85e7f9a
......@@ -868,6 +868,7 @@ func (n *Network) BrokerGroupRunner() ifrit.Runner {
// can be used to start and manage an orderer process.
func (n *Network) OrdererRunner(o *Orderer) *ginkgomon.Runner {
cmd := exec.Command(n.Components.Orderer())
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, fmt.Sprintf("FABRIC_CFG_PATH=%s", n.OrdererDir(o)))
config := ginkgomon.Config{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment