Skip to content

Commit

Permalink
Feat: reverted change
Browse files Browse the repository at this point in the history
  • Loading branch information
hmoog committed Jul 6, 2023
1 parent c689f86 commit b65af7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/timed/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestTimedExecutor_MemLeak(t *testing.T) {
}, 10*time.Second, 100*time.Millisecond)

memStatsEnd := memStats()
assert.Less(t, float64(memStatsEnd.HeapObjects), 1.15*float64(memStatsStart.HeapObjects), "the objects in the heap should not grow by more than 10%")
assert.Less(t, float64(memStatsEnd.HeapObjects), 1.1*float64(memStatsStart.HeapObjects), "the objects in the heap should not grow by more than 10%")
}

func TestTimedExecutor(t *testing.T) {
Expand Down

0 comments on commit b65af7b

Please sign in to comment.