summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorILYA Khlopotov <iilyak@apache.org>2017-07-18 11:39:59 -0700
committerILYA Khlopotov <iilyak@apache.org>2017-07-18 11:43:41 -0700
commit37d7fad36fc52454c98c9d601873f79085a32cab (patch)
treee954958bb5a0d78cc72156365217c30f493c40d4
parent483f59ee5fb6b31e843af02833235d7f98b60664 (diff)
downloadcouchdb-37d7fad36fc52454c98c9d601873f79085a32cab.tar.gz
Use test_util:stop_config in mem3_util_test
The config:stop is asynchronous which causes test failures with error like the following {error,{already_started,<0.32662.3>}
-rw-r--r--src/mem3/test/mem3_util_test.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem3/test/mem3_util_test.erl b/src/mem3/test/mem3_util_test.erl
index 340a58a63..38a35309b 100644
--- a/src/mem3/test/mem3_util_test.erl
+++ b/src/mem3/test/mem3_util_test.erl
@@ -145,8 +145,8 @@ config_01_setup() ->
{ok, Pid} = config:start_link([Ini]),
Pid.
-config_teardown(_Pid) ->
- config:stop().
+config_teardown(Pid) ->
+ test_util:stop_config(Pid).
n_val_test_() ->