Skip to content

Commit

Permalink
test(responsemanager): remove check (#228)
Browse files Browse the repository at this point in the history
remove checking for cleared requests in test of network errors on block send. When a network error
occurs on a block send, it will error the request and clear it out. However, it is still possible
the execution of the selector query was already complete, in which case, there will not be any
clearing of the request. That's ok.
  • Loading branch information
hannahhoward authored Sep 29, 2021
1 parent 3408ceb commit 5c5f1e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion responsemanager/responsemanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,6 @@ func TestNetworkErrors(t *testing.T) {
td.notifyBlockSendsNetworkError(err)
td.assertHasNetworkErrors(err)
td.assertNoCompletedResponseStatuses()
td.assertRequestCleared()
})
t.Run("network error while paused", func(t *testing.T) {
td := newTestData(t)
Expand Down

0 comments on commit 5c5f1e8

Please sign in to comment.