mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-23 09:18:26 +00:00
Use same /24 network for testing immutable field update (#2213)
This commit is contained in:
parent
16883df273
commit
43a333d3a6
1 changed files with 2 additions and 2 deletions
|
|
@ -66,8 +66,8 @@ func TestImmutableChange(t *testing.T) {
|
|||
text := errors.FailOnErr(fixture.Run(".", "kubectl", "get", "service", "-n", "kube-system", "kube-dns", "-o", "jsonpath={.spec.clusterIP}")).(string)
|
||||
parts := strings.Split(text, ".")
|
||||
n := rand.Intn(254)
|
||||
ip1 := fmt.Sprintf("%s.%s.10.%d", parts[0], parts[1], n)
|
||||
ip2 := fmt.Sprintf("%s.%s.10.%d", parts[0], parts[1], n+1)
|
||||
ip1 := fmt.Sprintf("%s.%s.%s.%d", parts[0], parts[1], parts[2], n)
|
||||
ip2 := fmt.Sprintf("%s.%s.%s.%d", parts[0], parts[1], parts[2], n+1)
|
||||
Given(t).
|
||||
Path("service").
|
||||
When().
|
||||
|
|
|
|||
Loading…
Reference in a new issue