Skip to content

Commit

Permalink
fix load test - anvil pods eviction (#1176)
Browse files Browse the repository at this point in the history
## 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
(smartcontractkit/chainlink-testing-framework#1026)
to use a volume for cache storage and use this chart in load tests.
  • Loading branch information
anirudhwarrier authored Jul 12, 2024
1 parent 87138ca commit 3e29ce9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration-tests/ccip-tests/testsetups/test_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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
Expand Down

0 comments on commit 3e29ce9

Please sign in to comment.