Browse Source

add serf check to TestAPI_ConnectCARoots_empty, TestAPI_ConnectCAConfig_get_set

pull/5376/head
Alvin Huang 6 years ago
parent
commit
9780892ebe
  1. 3
      api/connect_ca_test.go

3
api/connect_ca_test.go

@ -21,6 +21,8 @@ func TestAPI_ConnectCARoots_empty(t *testing.T) {
})
defer s.Stop()
s.WaitForSerfCheck(t)
connect := c.Connect()
_, _, err := connect.CARoots(nil)
@ -60,6 +62,7 @@ func TestAPI_ConnectCAConfig_get_set(t *testing.T) {
c, s := makeClient(t)
defer s.Stop()
s.WaitForSerfCheck(t)
expected := &ConsulCAProviderConfig{
RotationPeriod: 90 * 24 * time.Hour,
}

Loading…
Cancel
Save