iilyak commented on a change in pull request #3933:
URL: https://github.com/apache/couchdb/pull/3933#discussion_r810237724
##########
File path: src/couch/src/couch_debug.erl
##########
@@ -446,6 +553,57 @@ shorten_path(Path) ->
<<_:Len/binary, Rest/binary>> = File,
binary_to_list(Rest).
+-spec restart(Name :: process_name()) ->
+ Pid :: pid() | timeout.
+
+restart(Name) ->
+ Res = test_util:with_process_restart(Name, fun() ->
Review comment:
*Note*: I am calling a function from `test_util` module. Is it worth to
move the `with_process_restart` (and friends) into `couch_debug` and create a
dispatch in `test_util`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]