diff --git a/integration-tests/deploy/config.go b/integration-tests/deploy/config.go index 6165d7a5..79e9bc7f 100644 --- a/integration-tests/deploy/config.go +++ b/integration-tests/deploy/config.go @@ -6,6 +6,7 @@ import ( "os" "strconv" "strings" + "testing" ) var ( @@ -214,6 +215,9 @@ func ValidateGeth() (*GethConfig, error) { func ValidateDevnet() (*DevnetConfig, error) { var errs []string name := "chainlink-aptos.devnet" + if testing.Testing() { + name += "-" + strconv.Itoa(os.Getpid()) + } devnetImage, ok := os.LookupEnv("DEVNET_IMAGE") diff --git a/scripts/devnet.sh b/scripts/devnet.sh index cc5df72b..ecc7aa1d 100755 --- a/scripts/devnet.sh +++ b/scripts/devnet.sh @@ -2,7 +2,7 @@ dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -container_name="chainlink-aptos.devnet" +container_name="chainlink-aptos.devnet-$$" container_image="aptoslabs/tools:aptos-node-v1.34.3-hotfix" if [ -n "${CUSTOM_IMAGE:-}" ]; then