diff options
author | Fredrik Gustafsson <[email protected]> | 2012-11-12 10:08:52 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2012-11-12 10:08:52 +0100 |
commit | c593b38ccf24ccf09b9371518da6e48d31dbc55f (patch) | |
tree | b106fd655b87e7d68b71668e24fd47a08ba83eb0 /lib/inets | |
parent | 7f9bc436433f8feefeb44d05ef92868fa6d3e1c9 (diff) | |
download | otp-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.erl | 3 |
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, []), |