From 3e29ce9252e280ea42153e03642ab9d386e9500b Mon Sep 17 00:00:00 2001 From: Anirudh Warrier <12178754+anirudhwarrier@users.noreply.github.com> Date: Fri, 12 Jul 2024 17:49:37 +0530 Subject: [PATCH] fix load test - anvil pods eviction (#1176) ## Motivation CCIP Load tests were running into failures due to eviction of anvil pods which was due to cache file outgrowing the ephemeral storage on the pod. ## Solution Update anvil helm chart (https://github.com/smartcontractkit/chainlink-testing-framework/pull/1026) to use a volume for cache storage and use this chart in load tests. --- integration-tests/ccip-tests/testsetups/test_env.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integration-tests/ccip-tests/testsetups/test_env.go b/integration-tests/ccip-tests/testsetups/test_env.go index 87ca1c8c9e..e0a9c84482 100644 --- a/integration-tests/ccip-tests/testsetups/test_env.go +++ b/integration-tests/ccip-tests/testsetups/test_env.go @@ -483,7 +483,7 @@ func DeployEnvironments( anvilConfig.BlockGaslimit = pointer.ToInt64(100000000) } testEnvironment. - AddHelm(foundry.NewVersioned("0.1.9", &foundry.Props{ + AddHelm(foundry.NewVersioned("0.2.1", &foundry.Props{ NetworkName: network.Name, Values: map[string]interface{}{ "fullnameOverride": actions.NetworkName(network.Name), @@ -506,6 +506,9 @@ func DeployEnvironments( "baseFee": fmt.Sprintf("%d", pointer.GetInt64(anvilConfig.BaseFee)), }, "resources": GethResourceProfile, + "cache": map[string]interface{}{ + "capacity": "150Gi", + }, }, })) selectedNetworks[i].Simulated = true