Skip to content

Commit

Permalink
add a bit more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Jun 11, 2024
1 parent bb40d51 commit 4a875f7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/automation-benchmark-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ jobs:
TEST_TYPE: ${{ github.event.inputs.testType }}
TEST_TEST_TYPE: ${{ github.event.inputs.testType }}
RR_MEM: 4Gi
TEST_LOG_LEVEL: info
TEST_LOG_LEVEL: debug
TEST_SETH_LOG_LEVEL: debug
with:
test_command_to_run: cd integration-tests && go test -timeout 30m -v -run ^TestAutomationBenchmark$ ./benchmark -count=1
test_download_vendor_packages_command: make gomod
Expand Down
12 changes: 12 additions & 0 deletions integration-tests/testconfig/testconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ func GetConfig(configurationName string, product Product) (TestConfig, error) {
if err != nil {
return TestConfig{}, errors.Wrapf(err, "error unmarshalling embedded config")
}

if testConfig.Seth != nil {
logger.Warn().Msgf("Ephemeral keys: %d", *testConfig.Seth.EphemeralAddrs)
}
}
}

Expand All @@ -331,6 +335,10 @@ func GetConfig(configurationName string, product Product) (TestConfig, error) {
if err != nil {
return TestConfig{}, errors.Wrapf(err, "error reading file %s", filePath)
}

if testConfig.Seth != nil {
logger.Warn().Msgf("Ephemeral keys: %d", *testConfig.Seth.EphemeralAddrs)
}
}

logger.Info().Msg("Reading configs from Base64 override env var")
Expand All @@ -350,6 +358,10 @@ func GetConfig(configurationName string, product Product) (TestConfig, error) {
logger.Debug().Msg("Base64 config override from environment variable not found")
}

if testConfig.Seth != nil {
logger.Warn().Msgf("Ephemeral keys: %d", *testConfig.Seth.EphemeralAddrs)
}

// it neede some custom logic, so we do it separately
err := testConfig.readNetworkConfiguration()
if err != nil {
Expand Down

0 comments on commit 4a875f7

Please sign in to comment.