Assert that no error is returned in `TestConcurrentComplete()` (#1028)

This commit is contained in:
Pedro Pombeiro 2018-06-14 11:00:15 +02:00 committed by Adrià Cidre
parent 765fb69d89
commit e81ef9e9d5
1 changed files with 2 additions and 1 deletions

View File

@ -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") s.False(s.pendingRequests.Has(req.ID), "sign request should exist")