Unverified Commit 0f3ad6b0 authored by meskio's avatar meskio Committed by Kali Kaneko
Browse files

[test] the gateway IPs has changed

parent 96735142
Pipeline #27840 passed with stages
in 27 minutes and 26 seconds
......@@ -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)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment