You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2019/02/19 09:13:59 UTC

[couchdb] branch jenkins-fix-elixir updated: return value from retry_until

This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch jenkins-fix-elixir
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/jenkins-fix-elixir by this push:
     new a2d3d2d  return value from retry_until
a2d3d2d is described below

commit a2d3d2ddaca6d483e6f8f0ec6d3d72344967212b
Author: Garren Smith <ga...@gmail.com>
AuthorDate: Tue Feb 19 11:13:43 2019 +0200

    return value from retry_until
---
 test/elixir/lib/couch/db_test.ex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/elixir/lib/couch/db_test.ex b/test/elixir/lib/couch/db_test.ex
index 54e6942..f835b0a 100644
--- a/test/elixir/lib/couch/db_test.ex
+++ b/test/elixir/lib/couch/db_test.ex
@@ -214,8 +214,8 @@ defmodule Couch.DBTest do
       raise "timed out after #{now - start} ms"
     else
       try do
-        if condition.() do
-          :ok
+        if result = condition.() do
+          result
         else
           raise ExUnit.AssertionError
         end