diff --git a/cf-plugin/cmd/ssh_test.go b/cf-plugin/cmd/ssh_test.go index f292f0c..511540c 100644 --- a/cf-plugin/cmd/ssh_test.go +++ b/cf-plugin/cmd/ssh_test.go @@ -956,7 +956,7 @@ var _ = Describe("Diego SSH Plugin", func() { conn, err := net.Dial("tcp", localAddress) Expect(err).NotTo(HaveOccurred()) - Eventually(echoListener.AcceptCallCount).Should(Equal(1)) + Eventually(echoListener.AcceptCallCount).Should(BeNumerically(">=", 1)) Eventually(fakeSecureClient.DialCallCount).Should(Equal(1)) network, addr := fakeSecureClient.DialArgsForCall(0)