You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ii...@apache.org on 2021/09/16 11:17:58 UTC

[couchdb] branch main updated: Fix logic in ensure_exunit_started

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

iilyak pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new c83e8d7  Fix logic in ensure_exunit_started
     new 5fb5684  Merge pull request #3753 from cloudant/fix-ensure_exunit_started
c83e8d7 is described below

commit c83e8d79ec3079cd8a69816929fde5eb454d92b1
Author: ILYA Khlopotov <ii...@apache.org>
AuthorDate: Wed Sep 15 07:40:29 2021 -0700

    Fix logic in ensure_exunit_started
---
 test/elixir/lib/suite.ex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/elixir/lib/suite.ex b/test/elixir/lib/suite.ex
index 60b7766..9745f76 100644
--- a/test/elixir/lib/suite.ex
+++ b/test/elixir/lib/suite.ex
@@ -153,7 +153,7 @@ defmodule Couch.Test.Suite do
 
       if not started? do
         ExUnit.start(autorun: false)
-        Process.get(EXUNIT_STARTED, true)
+        Process.put(EXUNIT_STARTED, true)
       end
     end
   end