Skip to content

Commit

Permalink
Update eth/filters/filter_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Holst Swende <martin@swende.se>
Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
2 people authored and jsvisa committed May 23, 2023
1 parent 5000eb7 commit 5167b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/filters/filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func TestFilters(t *testing.T) {

t.Run("timeout", func(t *testing.T) {
f := sys.NewRangeFilter(0, -1, nil, nil)
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Microsecond)
ctx, cancel := context.WithDeadline(context.Background(), time.Now().Add(-time.Hour))
defer cancel()
_, err := f.Logs(ctx)
if err == nil {
Expand Down

0 comments on commit 5167b95

Please sign in to comment.