Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
canercidam committed Nov 1, 2023
1 parent 4b42fa9 commit 1d29640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeds/timeline/timeline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func TestTimeline_CalculateLag(t *testing.T) {
r.Equal(float64(1+5+9+13+15+2)/float64(6), lag)
estimate, ok := blockTimeline.EstimateBlockScore()
r.True(ok)
r.Equal(0.25, estimate)
r.Equal(0.0625, estimate)

testDelay := time.Second
blockTimeline.delay = &testDelay
Expand Down

0 comments on commit 1d29640

Please sign in to comment.