Skip to content

Commit

Permalink
fix when network is set to be simulated in test env builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Mar 7, 2024
1 parent d907cea commit f004647
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions integration-tests/docker/test_env/test_env_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ func (b *CLTestEnvBuilder) Build() (*CLClusterTestEnv, error) {
if err != nil {
return nil, err
}

b.te.isSimulatedNetwork = true

return b.te, nil
}

Expand Down Expand Up @@ -395,8 +398,6 @@ func (b *CLTestEnvBuilder) Build() (*CLClusterTestEnv, error) {

b.te.SethClient = seth
}

b.te.isSimulatedNetwork = true
}

var nodeCsaKeys []string
Expand Down Expand Up @@ -433,8 +434,6 @@ func (b *CLTestEnvBuilder) Build() (*CLClusterTestEnv, error) {
}
}
}

b.te.isSimulatedNetwork = true
}

err := b.te.StartClCluster(cfg, b.clNodesCount, b.secretsConfig, b.testConfig, b.clNodesOpts...)
Expand Down Expand Up @@ -462,8 +461,6 @@ func (b *CLTestEnvBuilder) Build() (*CLClusterTestEnv, error) {
return nil, err
}
}

b.te.isSimulatedNetwork = true
}

var enDesc string
Expand Down

0 comments on commit f004647

Please sign in to comment.