Skip to content

Commit

Permalink
ibu mgmt: update proxy tests to ignore no_proxy (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
trewest authored Jun 3, 2024
1 parent 1740c5b commit d194642
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ var _ = Describe(
}

if originalTargetProxy.Object.Spec.HTTPProxy != MGMTConfig.SeedClusterInfo.Proxy.HTTPProxy ||
originalTargetProxy.Object.Spec.HTTPSProxy != MGMTConfig.SeedClusterInfo.Proxy.HTTPSProxy ||
originalTargetProxy.Object.Spec.NoProxy != MGMTConfig.SeedClusterInfo.Proxy.NOProxy {
originalTargetProxy.Object.Spec.HTTPSProxy != MGMTConfig.SeedClusterInfo.Proxy.HTTPSProxy {
Skip("Target was not installed with the same proxy as seed")
}

Expand All @@ -319,8 +318,7 @@ var _ = Describe(
}

if originalTargetProxy.Object.Spec.HTTPProxy == MGMTConfig.SeedClusterInfo.Proxy.HTTPProxy &&
originalTargetProxy.Object.Spec.HTTPSProxy == MGMTConfig.SeedClusterInfo.Proxy.HTTPSProxy &&
originalTargetProxy.Object.Spec.NoProxy == MGMTConfig.SeedClusterInfo.Proxy.NOProxy {
originalTargetProxy.Object.Spec.HTTPSProxy == MGMTConfig.SeedClusterInfo.Proxy.HTTPSProxy {
Skip("Target was installed with the same proxy as seed")
}

Expand Down

0 comments on commit d194642

Please sign in to comment.