summaryrefslogtreecommitdiff
path: root/pkg/standalone/bonafide/bonafide_integration_test.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-09-25 14:55:29 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-10-04 19:11:00 -0600
commit0f3ad6b0764c71c4b27b23a325051aaa39828f26 (patch)
tree4aeaf59ed1f1199e262ce866b5e5b1ccf725658e /pkg/standalone/bonafide/bonafide_integration_test.go
parent967351425241d00364a3ebd77722206aa17fb95a (diff)
[test] the gateway IPs has changed
Diffstat (limited to 'pkg/standalone/bonafide/bonafide_integration_test.go')
-rw-r--r--pkg/standalone/bonafide/bonafide_integration_test.go8
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)
}