diff --git a/integration-tests/common/common.go b/integration-tests/common/common.go index d2239fc3..c204f67e 100644 --- a/integration-tests/common/common.go +++ b/integration-tests/common/common.go @@ -1,6 +1,7 @@ package common import ( + "bytes" "fmt" "os" "os/exec" @@ -181,17 +182,23 @@ func (c *Common) SetLocalEnvironment(t *testing.T) { log.Info().Msg("Starting wasmd container...") err := exec.Command("../scripts/wasmd.sh").Run() require.NoError(t, err, "Could not start wasmd container") + log.Info().Msg("Starting postgres container...") err = exec.Command("../scripts/postgres.sh").Run() require.NoError(t, err, "Could not start postgres container") + log.Info().Msg("Starting mock adapter...") err = exec.Command("../scripts/mock-adapter.sh").Run() require.NoError(t, err, "Could not start mock adapter") + log.Info().Msg("Starting core nodes...") cmd := exec.Command("../scripts/core.sh") cmd.Env = append(os.Environ(), fmt.Sprintf("CL_CONFIG=%s", c.ChainlinkConfig)) + cmd.Stdout = os.Stdout + cmd.Stderr = os.Stderr err = cmd.Run() require.NoError(t, err, "Could not start core nodes") + log.Info().Msg("Set up local stack complete.") // Set ChainlinkNodeDetails diff --git a/scripts/core.sh b/scripts/core.sh index a4a90950..97453cc6 100755 --- a/scripts/core.sh +++ b/scripts/core.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -euo pipefail +set -euox pipefail bash "$(dirname -- "$0")/core.down.sh"