From fd2643b01793bae4d361ba47039639f60f606a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 17 May 2018 16:47:02 +0200 Subject: Remove more tests from old_http_SUITE which exist elsewhere --- test/old_http_SUITE.erl | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/test/old_http_SUITE.erl b/test/old_http_SUITE.erl index e74f648..3482bff 100644 --- a/test/old_http_SUITE.erl +++ b/test/old_http_SUITE.erl @@ -209,19 +209,15 @@ The document has moved {400, "\n"}, {400, "Garbage\r\n\r\n"}, {400, "\r\n\r\n\r\n\r\n\r\n\r\n"}, - {400, " / HTTP/1.1\r\nHost: localhost\r\n\r\n"}, {400, "GET HTTP/1.1\r\nHost: localhost\r\n\r\n"}, {400, "GET / HTTP/1.1\r\nHost: ninenines.eu\r\n\r\n"}, {400, "GET http://proxy/ HTTP/1.1\r\n\r\n"}, {400, "GET / HTTP/1.1\r\nHost: localhost:bad_port\r\n\r\n"}, {400, ResponsePacket}, - {408, "GET / HTTP/1.1\r\n"}, {408, "GET / HTTP/1.1\r\nHost: localhost"}, {408, "GET / HTTP/1.1\r\nHost: localhost\r\n"}, {408, "GET / HTTP/1.1\r\nHost: localhost\r\n\r"}, {closed, Huge}, - {431, "GET / HTTP/1.1\r\n" ++ Huge}, - {505, "GET / HTTP/1.2\r\nHost: localhost\r\n\r\n"}, {closed, ""}, {closed, "\r\n"}, {closed, "\r\n\r\n"}, @@ -606,22 +602,6 @@ path_allow_colon(_Config) -> cowboy_router:compile([{'_', [{"/foo/bar:blah", http_handler, []}]}]), ok. -set_resp_body(Config) -> - ConnPid = gun_open(Config), - Ref = gun:get(ConnPid, "/set_resp/body"), - {response, nofin, 200, _} = gun:await(ConnPid, Ref), - {ok, <<"A flameless dance does not equal a cycle">>} - = gun:await_body(ConnPid, Ref), - ok. - -set_resp_header(Config) -> - ConnPid = gun_open(Config), - Ref = gun:get(ConnPid, "/set_resp/header"), - {response, nofin, 200, Headers} = gun:await(ConnPid, Ref), - {_, <<"Accept">>} = lists:keyfind(<<"vary">>, 1, Headers), - {_, _} = lists:keyfind(<<"set-cookie">>, 1, Headers), - ok. - set_resp_overwrite(Config) -> ConnPid = gun_open(Config), Ref = gun:get(ConnPid, "/set_resp/overwrite"), -- cgit v1.2.3