Skip to content

Commit

Permalink
Fix accept loop flake
Browse files Browse the repository at this point in the history
  • Loading branch information
sykesm committed Jun 16, 2015
1 parent 0136f97 commit 361943a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf-plugin/cmd/ssh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 361943a

Please sign in to comment.