From 0f3ad6b0764c71c4b27b23a325051aaa39828f26 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 25 Sep 2019 14:55:29 +0200 Subject: [test] the gateway IPs has changed --- pkg/standalone/bonafide/bonafide_integration_test.go | 8 ++++++-- 1 file 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) } -- cgit v1.2.3