From e81ef9e9d57af96448a7fa5cfd5a78213b198c2a Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Thu, 14 Jun 2018 11:00:15 +0200 Subject: [PATCH] Assert that no error is returned in `TestConcurrentComplete()` (#1028) --- sign/pending_requests_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sign/pending_requests_test.go b/sign/pending_requests_test.go index 96094deab..4574c935a 100644 --- a/sign/pending_requests_test.go +++ b/sign/pending_requests_test.go @@ -174,7 +174,8 @@ func (s PendingRequestsSuite) TestConcurrentComplete() { }() } - s.pendingRequests.Wait(req.ID, 10*time.Second) + rst := s.pendingRequests.Wait(req.ID, 10*time.Second) + s.Require().NoError(rst.Error) s.False(s.pendingRequests.Has(req.ID), "sign request should exist")