diff options
Diffstat (limited to 'server/server_test.go')
-rw-r--r-- | server/server_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server_test.go b/server/server_test.go index b9d8263f..46ef4be3 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -107,7 +107,7 @@ func TestMonitor(test *testing.T) { for { time.Sleep(time.Second) - if t.GetNeighbor()[0].State.SessionState == config.SESSION_STATE_ESTABLISHED { + if t.GetNeighbor(false)[0].State.SessionState == config.SESSION_STATE_ESTABLISHED { break } } |