File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ func TestBasics(t *testing.T) {
156
156
157
157
// The second peer should hit throttling
158
158
if ! throttle {
159
- t .Fatalf ("should not throttle" )
159
+ t .Fatalf ("should throttle" )
160
160
}
161
161
// And not get any fetches at all, since it was throttled to begin with
162
162
if fetchReq != nil {
@@ -251,7 +251,7 @@ func TestEmptyBlocks(t *testing.T) {
251
251
252
252
// there should be nothing to fetch, blocks are empty
253
253
if fetchReq != nil {
254
- t .Fatal ("there should be no body fetch tasks remaining" )
254
+ t .Fatal ("there should be no receipt fetch tasks remaining" )
255
255
}
256
256
}
257
257
if q .blockTaskQueue .Size () != numOfBlocks - 10 {
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ func TestBasics(t *testing.T) {
150
150
151
151
// The second peer should hit throttling
152
152
if ! throttle {
153
- t .Fatalf ("should not throttle" )
153
+ t .Fatalf ("should throttle" )
154
154
}
155
155
// And not get any fetches at all, since it was throttled to begin with
156
156
if fetchReq != nil {
@@ -239,7 +239,7 @@ func TestEmptyBlocks(t *testing.T) {
239
239
240
240
// there should be nothing to fetch, blocks are empty
241
241
if fetchReq != nil {
242
- t .Fatal ("there should be no body fetch tasks remaining" )
242
+ t .Fatal ("there should be no receipt fetch tasks remaining" )
243
243
}
244
244
}
245
245
if q .blockTaskQueue .Size () != numOfBlocks - 10 {
You can’t perform that action at this time.
0 commit comments