From 2cdc7f9f431d9385eeef39f5d074173730ef42c5 Mon Sep 17 00:00:00 2001 From: Radek Scheibinger Date: Wed, 26 Feb 2025 11:10:47 +0100 Subject: [PATCH 1/2] Update ccip.toml test config --- integration-tests/testconfig/ccip/ccip.toml | 7 +++++-- integration-tests/testconfig/testconfig.go | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/integration-tests/testconfig/ccip/ccip.toml b/integration-tests/testconfig/ccip/ccip.toml index d1241a6ea1a..2120d21a63e 100644 --- a/integration-tests/testconfig/ccip/ccip.toml +++ b/integration-tests/testconfig/ccip/ccip.toml @@ -248,8 +248,11 @@ MessageTypeWeights = [10,45,45] RequestFrequency = "5s" LoadDuration = "1h" # destination chain selectors to send messages to -NumDestinationChains = 6 +NumDestinationChains = 2 # Directory where we receive environment configuration from crib -CribEnvDirectory = "../../../../crib/deployments/ccip-v2/.tmp" +# By default it is set to run in a docker container +CribEnvDirectory = "/data/crib-env-state" +# Uncomment the line below to run tests using local directory +# CribEnvDirectory = "../../../../crib/deployments/ccip-v2/.tmp" TimeoutDuration = "30m" GasLimit = 700_000 \ No newline at end of file diff --git a/integration-tests/testconfig/testconfig.go b/integration-tests/testconfig/testconfig.go index 3ec61f42607..753b93167e9 100644 --- a/integration-tests/testconfig/testconfig.go +++ b/integration-tests/testconfig/testconfig.go @@ -341,6 +341,7 @@ func GetConfig(configurationNames []string, product Product) (TestConfig, error) } } } else { + // todo: we need to make this part working with k8s-tester, so the config file is mount in k8s pod logger.Info().Msg("Reading configs from file system") for _, fileName := range fileNames { logger.Debug().Msgf("Looking for config file %s", fileName) From b6ed418a50e73c997356432f106f69956e0ad76f Mon Sep 17 00:00:00 2001 From: Radek Scheibinger Date: Thu, 27 Feb 2025 15:14:41 +0100 Subject: [PATCH 2/2] Add debug log --- integration-tests/load/ccip/metrics.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/load/ccip/metrics.go b/integration-tests/load/ccip/metrics.go index d18248e5def..6d83a24a0d5 100644 --- a/integration-tests/load/ccip/metrics.go +++ b/integration-tests/load/ccip/metrics.go @@ -149,6 +149,7 @@ func (mm *MetricManager) Start(ctx context.Context) { } func SendMetricsToLoki(l logger.Logger, lc *wasp.LokiClient, updatedLabels map[string]string, metrics *LokiMetric) { + l.Infow("Sending metrics to Loki ", "metrics", metrics, "labels", updatedLabels) if err := lc.HandleStruct(wasp.LabelsMapToModel(updatedLabels), time.Now(), metrics); err != nil { l.Error(ErrLokiPush) }