Skip to content

Commit

Permalink
Do not assert time on CI to avoid failures
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Nov 29, 2024
1 parent afc99e2 commit 521216f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/mix/test/mix/tasks/profile.tprof_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,6 @@ defmodule Mix.Tasks.Profile.TprofTest do
end)
end

test "filters based on time", context do
in_tmp(context.test, fn ->
result =
capture_io(fn ->
Tprof.run(["--time", "50", "-e", @expr])
end)

refute result =~ "\nEnum.each/2"
end)
end

test "filters based on memory", context do
in_tmp(context.test, fn ->
result =
Expand Down

0 comments on commit 521216f

Please sign in to comment.