aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-09-08 14:54:34 +0200
committerPatrik Nyblom <[email protected]>2010-09-13 10:51:53 +0200
commit1d7578e4ab1226eb969723102bc20606051d46b1 (patch)
treedaf25cc3c7f3c8e1e703d5ce2d21b902e9d7eff1 /lib/erl_interface
parent6749180c73ebc4bdc17854d0bf1d8207bc9db1a9 (diff)
downloadotp-1d7578e4ab1226eb969723102bc20606051d46b1.tar.gz
otp-1d7578e4ab1226eb969723102bc20606051d46b1.tar.bz2
otp-1d7578e4ab1226eb969723102bc20606051d46b1.zip
Increase timeout value in ei_accept_SUITE
Diffstat (limited to 'lib/erl_interface')
-rw-r--r--lib/erl_interface/test/ei_accept_SUITE.erl9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/erl_interface/test/ei_accept_SUITE.erl b/lib/erl_interface/test/ei_accept_SUITE.erl
index 07c1e32a68..31781fe377 100644
--- a/lib/erl_interface/test/ei_accept_SUITE.erl
+++ b/lib/erl_interface/test/ei_accept_SUITE.erl
@@ -31,7 +31,7 @@
all(suite) -> [ei_accept, ei_threaded_accept].
init_per_testcase(_Case, Config) ->
- Dog = ?t:timetrap(?t:minutes(0.25)),
+ Dog = ?t:timetrap(?t:seconds(30)),
[{watchdog, Dog}|Config].
fin_per_testcase(_Case, Config) ->
@@ -155,13 +155,6 @@ ei_receive(P, Fd) ->
{term, T}= get_term(P),
T.
-ei_unpublish(P) ->
- send_command(P, ei_unpublish, []),
- case get_term(P) of
- {term,{0, _}} -> ok;
- {term,{_X, Errno}} -> {error,Errno}
- end.
-
send_command(P, Name, Args) ->
runner:send_term(P, {Name,list_to_tuple(Args)}).