summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2017-01-05 15:49:34 +0100
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2017-01-05 15:50:56 +0100
commit62d8e67571af1f5e90e1e5864c5f7ca101d2c0c2 (patch)
treee3ff66c871d46b0a89c4c39720964ccc7cb43a84 /test
parentaf06a3cc6c5d80448cf0831753f2c5b54576b18b (diff)
downloadrabbitmq-server-git-62d8e67571af1f5e90e1e5864c5f7ca101d2c0c2.tar.gz
worker_pool_SUITE: Fix "unused variable" warnings
Diffstat (limited to 'test')
-rw-r--r--test/worker_pool_SUITE.erl15
1 files changed, 5 insertions, 10 deletions
diff --git a/test/worker_pool_SUITE.erl b/test/worker_pool_SUITE.erl
index 7eb4d6fd04..9b6b0721a2 100644
--- a/test/worker_pool_SUITE.erl
+++ b/test/worker_pool_SUITE.erl
@@ -41,7 +41,7 @@ end_per_testcase(_, Config) ->
unlink(Pool),
exit(Pool, kill).
-run_code_synchronously(Config) ->
+run_code_synchronously(_) ->
Self = self(),
Test = make_ref(),
Sleep = 200,
@@ -63,7 +63,7 @@ run_code_synchronously(Config) ->
% Worker is a separate process
true = (Self /= Result).
-run_code_asynchronously(Config) ->
+run_code_asynchronously(_) ->
Self = self(),
Test = make_ref(),
Sleep = 200,
@@ -84,7 +84,7 @@ run_code_asynchronously(Config) ->
% Worker is a separate process
true = (Self /= Result).
-set_timeout(Config) ->
+set_timeout(_) ->
Self = self(),
Test = make_ref(),
Worker = worker_pool:submit(?POOL_NAME,
@@ -112,7 +112,7 @@ set_timeout(Config) ->
end.
-cancel_timeout(Config) ->
+cancel_timeout(_) ->
Self = self(),
Test = make_ref(),
Worker = worker_pool:submit(?POOL_NAME,
@@ -146,7 +146,7 @@ cancel_timeout(Config) ->
after 0 -> ok
end.
-cancel_timeout_by_setting(Config) ->
+cancel_timeout_by_setting(_) ->
Self = self(),
Test = make_ref(),
Worker = worker_pool:submit(?POOL_NAME,
@@ -186,8 +186,3 @@ cancel_timeout_by_setting(Config) ->
receive {hello_reset, Worker, Test} -> ok
after 1000 -> exit(timeout_is_late)
end.
-
-
-
-
-