From cb4de9f5a4e5e1462722e72ab6aeb8355be8f23c Mon Sep 17 00:00:00 2001 From: AnieeG Date: Sun, 7 Jul 2024 23:29:19 -0700 Subject: [PATCH] anvil resource --- integration-tests/ccip-tests/testsetups/ccip.go | 12 ++++++++++++ integration-tests/ccip-tests/testsetups/test_env.go | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/integration-tests/ccip-tests/testsetups/ccip.go b/integration-tests/ccip-tests/testsetups/ccip.go index 39e52164bc..f9d6a73930 100644 --- a/integration-tests/ccip-tests/testsetups/ccip.go +++ b/integration-tests/ccip-tests/testsetups/ccip.go @@ -56,6 +56,18 @@ var ( "memory": "6Gi", }, } + AnvilResourceProfile = map[string]interface{}{ + "requests": map[string]interface{}{ + "cpu": "4", + "memory": "6Gi", + "ephemeral-storage": "25Gi", + }, + "limits": map[string]interface{}{ + "cpu": "4", + "memory": "6Gi", + "ephemeral-storage": "25Gi", + }, + } // to set default values through test config use sync.once setContractVersion sync.Once setOCRParams sync.Once diff --git a/integration-tests/ccip-tests/testsetups/test_env.go b/integration-tests/ccip-tests/testsetups/test_env.go index caf02eace7..2271da7169 100644 --- a/integration-tests/ccip-tests/testsetups/test_env.go +++ b/integration-tests/ccip-tests/testsetups/test_env.go @@ -500,7 +500,7 @@ func DeployEnvironments( "blockGasLimit": fmt.Sprintf("%d", pointer.GetInt64(anvilConfig.BlockGaslimit)), "baseFee": fmt.Sprintf("%d", pointer.GetInt64(anvilConfig.BaseFee)), }, - "resources": testInputs.GethResourceProfile, + "resources": AnvilResourceProfile, }, })) selectedNetworks[i].Simulated = true