Skip to content

Commit c459d31

Browse files
author
alexrp
committed
Use System.services_timeout/0 for kernel tests.
1 parent 02dee46 commit c459d31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/test/elixir/gen_server/behaviour_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ defmodule GenServer.BehaviourTest do
3131

3232
test :using do
3333
assert { :ok, pid } = :gen_server.start_link(Sample, [:hello], [])
34-
assert :gen_server.call(pid, :pop) == :hello
34+
assert :gen_server.call(pid, :pop, System.services_timeout) == :hello
3535
assert :gen_server.cast(pid, { :push, :world }) == :ok
36-
assert :gen_server.call(pid, :pop) == :world
36+
assert :gen_server.call(pid, :pop, System.services_timeout) == :world
3737
end
3838
end

0 commit comments

Comments
 (0)