MCPcopy
hub / github.com/osrg/gobgp / waitPeerState

Function waitPeerState

pkg/server/server_test.go:527–530  ·  view source on GitHub ↗
(t *testing.T, s *BgpServer, state api.PeerState_SessionState, timeout time.Duration, expectedFamilies ...bgp.Family)

Source from the content-addressed store, hash-verified

525}
526
527func waitPeerState(t *testing.T, s *BgpServer, state api.PeerState_SessionState, timeout time.Duration, expectedFamilies ...bgp.Family) {
528 t.Helper()
529 newPeerStateWaiter(s, state, expectedFamilies...).Wait(t, timeout)
530}
531
532func TestListPathEnableFiltered(test *testing.T) {
533 assert := assert.New(test)

Callers 1

Calls 2

newPeerStateWaiterFunction · 0.85
WaitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…