aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2012-11-12 10:08:52 +0100
committerFredrik Gustafsson <[email protected]>2012-11-12 10:08:52 +0100
commitc593b38ccf24ccf09b9371518da6e48d31dbc55f (patch)
treeb106fd655b87e7d68b71668e24fd47a08ba83eb0 /lib/inets
parent7f9bc436433f8feefeb44d05ef92868fa6d3e1c9 (diff)
downloadotp-c593b38ccf24ccf09b9371518da6e48d31dbc55f.tar.gz
otp-c593b38ccf24ccf09b9371518da6e48d31dbc55f.tar.bz2
otp-c593b38ccf24ccf09b9371518da6e48d31dbc55f.zip
Changes to slowdos testcase
Diffstat (limited to 'lib/inets')
-rw-r--r--lib/inets/test/httpd_basic_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/inets/test/httpd_basic_SUITE.erl b/lib/inets/test/httpd_basic_SUITE.erl
index 326a485e31..8f29745f31 100644
--- a/lib/inets/test/httpd_basic_SUITE.erl
+++ b/lib/inets/test/httpd_basic_SUITE.erl
@@ -282,7 +282,8 @@ escaped_url_in_error_body(Config) when is_list(Config) ->
slowdose(doc) ->
["Testing minimum bytes per second option"];
slowdose(Config) when is_list(Config) ->
- {ok, Pid} = inets:start(httpd, [{port, 0}, {server_name, "test"}, {server_root, "/tmp"}, {document_root, "/tmp"}, {minimum_bytes_per_second, 200}]),
+ HttpdConf = ?config(httpd_conf, Config),
+ {ok, Pid} = inets:start(httpd, [{port, 0}, {minimum_bytes_per_second, 200}|HttpdConf]),
Info = httpd:info(Pid),
Port = proplists:get_value(port, Info),
{ok, Socket} = gen_tcp:connect("localhost", Port, []),