diff options
Diffstat (limited to 'test/elixir/test/helper_test.exs')
-rw-r--r-- | test/elixir/test/helper_test.exs | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/elixir/test/helper_test.exs b/test/elixir/test/helper_test.exs deleted file mode 100644 index 1e498a15c..000000000 --- a/test/elixir/test/helper_test.exs +++ /dev/null @@ -1,34 +0,0 @@ -defmodule HelperTest do - use CouchTestCase - - @moduledoc """ - Test helper code - """ - - @moduletag :helper - @moduletag kind: :single_node - - test "retry_until handles boolean conditions", _context do - retry_until(fn -> - true - end) - end - - test "retry_until handles assertions", _context do - retry_until(fn -> - assert true - end) - end - - test "retry_until times out", _context do - assert_raise RuntimeError, ~r/^timed out after \d+ ms$/, fn -> - retry_until( - fn -> - assert false - end, - 1, - 5 - ) - end - end -end |