Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ccip.toml test config #16583

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions integration-tests/load/ccip/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
7 changes: 5 additions & 2 deletions integration-tests/testconfig/ccip/ccip.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions integration-tests/testconfig/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading