aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-07-26 15:55:56 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-07-26 15:57:58 +0200
commit45fba6d24258f079859bd28f6deafbbba6b7c152 (patch)
treed15f138b615687a360b0afbe748e5bbaee89d803
parentf8dc8bc39cfbd66c4187fc7da0071705e20cde4f (diff)
downloadotp-45fba6d24258f079859bd28f6deafbbba6b7c152.tar.gz
otp-45fba6d24258f079859bd28f6deafbbba6b7c152.tar.bz2
otp-45fba6d24258f079859bd28f6deafbbba6b7c152.zip
erts: Fix epmd_module testcase
Regression from OTP-13770 (84549af1c996657aedee1263afec28b21bfa42a4)
-rw-r--r--erts/emulator/test/distribution_SUITE.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/erts/emulator/test/distribution_SUITE.erl b/erts/emulator/test/distribution_SUITE.erl
index 6895b08d2e..159fbc806b 100644
--- a/erts/emulator/test/distribution_SUITE.erl
+++ b/erts/emulator/test/distribution_SUITE.erl
@@ -66,7 +66,7 @@
sendersender/4, sendersender2/4]).
%% epmd_module exports
--export([start_link/0, register_node/2, port_please/2]).
+-export([start_link/0, register_node/2, register_node/3, port_please/2]).
suite() ->
[{ct_hooks,[ts_install_cth]},
@@ -1925,7 +1925,9 @@ epmd_module(Config) when is_list(Config) ->
start_link() ->
ignore.
-register_node(_Name, Port) ->
+register_node(Name, Port) ->
+ register_node(Name, Port, inet_tcp).
+register_node(_Name, Port, _Driver) ->
%% Save the port number we're listening on.
application:set_env(kernel, dist_listen_port, Port),
Creation = rand:uniform(3),