Skip to content

Commit

Permalink
VRF-881: fixing e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iljapavlovs committed Feb 23, 2024
1 parent e5b26b2 commit 43ffb33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions integration-tests/testconfig/vrfv2/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ func (c *Config) Validate() error {
return err
}
}
if c.ExistingEnvConfig != nil {
if c.ExistingEnvConfig != nil && *c.General.UseExistingEnv == true {

Check failure on line 28 in integration-tests/testconfig/vrfv2/config.go

View workflow job for this annotation

GitHub Actions / Build and Lint integration-tests (integration-tests, ./integration-tests, e2e)

bool-literal-in-expr: omit Boolean literal in expression (revive)
if err := c.ExistingEnvConfig.Validate(); err != nil {
return err
}
}

return nil
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/testconfig/vrfv2plus/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (c *Config) Validate() error {
return err
}
}
if c.ExistingEnvConfig != nil {
if c.ExistingEnvConfig != nil && *c.General.UseExistingEnv == true {

Check failure on line 34 in integration-tests/testconfig/vrfv2plus/config.go

View workflow job for this annotation

GitHub Actions / Build and Lint integration-tests (integration-tests, ./integration-tests, e2e)

bool-literal-in-expr: omit Boolean literal in expression (revive)
if err := c.ExistingEnvConfig.Validate(); err != nil {
return err
}
Expand Down

0 comments on commit 43ffb33

Please sign in to comment.