Skip to content

Commit

Permalink
trying once more with eprof and its flakyness
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Aug 19, 2023
1 parent b7f25d4 commit 7636222
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/benchee/profile_test.exs
Expand Up @@ -114,7 +114,7 @@ defmodule Benchee.ProfileTest do
end
end

# still can't say 'warmup' due to error messages and amtching
# still can't say 'warmup' due to error messages and matching
describe "general warming up" do
test "You can still specify you really want to do warmup" do
retrying(fn ->
Expand Down Expand Up @@ -152,6 +152,9 @@ defmodule Benchee.ProfileTest do
test "before each hook works" do
# random flaky failures: ** (exit) exited in: :gen_server.call(:eprof, {:profile_start, [], {:_, :_, :_}, {:erlang, :apply, [#Function<6.54153602/0 in Benchee.Benchmark.Runner.main_function/2>, []]}, [set_on_spawn: true]}, :infinity)
retrying(fn ->
# the mix task we use does this and so we should be fine but worth a go anyhow
:eprof.start()

capture_io(fn ->
test_process = self()

Expand Down

0 comments on commit 7636222

Please sign in to comment.