diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-09-25 14:55:29 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2019-10-04 19:11:00 -0600 |
commit | 0f3ad6b0764c71c4b27b23a325051aaa39828f26 (patch) | |
tree | 4aeaf59ed1f1199e262ce866b5e5b1ccf725658e | |
parent | 967351425241d00364a3ebd77722206aa17fb95a (diff) |
[test] the gateway IPs has changed
-rw-r--r-- | pkg/standalone/bonafide/bonafide_integration_test.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkg/standalone/bonafide/bonafide_integration_test.go b/pkg/standalone/bonafide/bonafide_integration_test.go index 14fca05..bea00fe 100644 --- a/pkg/standalone/bonafide/bonafide_integration_test.go +++ b/pkg/standalone/bonafide/bonafide_integration_test.go @@ -21,6 +21,10 @@ import ( "testing" ) +const ( + gwIP = "199.58.81.145" +) + var ( privateKeyHeader = []byte("-----BEGIN RSA PRIVATE KEY-----") certHeader = []byte("-----BEGIN CERTIFICATE-----") @@ -50,9 +54,9 @@ func TestGetGateways(t *testing.T) { } for _, gw := range gateways { - if gw.IPAddress == "5.79.86.180" { + if gw.IPAddress == gwIP { return } } - t.Errorf("5.79.86.180 not in the list") + t.Errorf("%s not in the list", gwIP) } |