diff --git a/big_tests/rebar.config b/big_tests/rebar.config index 0a487b3feec..0cf1a798010 100644 --- a/big_tests/rebar.config +++ b/big_tests/rebar.config @@ -21,7 +21,6 @@ {shotgun, "0.4.1"}, {amqp_client, "3.8.14"}, {esip, "1.0.33"}, - {ibrowse, "4.4.1"}, {jid, "1.0.0", {pkg, mongoose_jid}} ]}. diff --git a/big_tests/rebar.lock b/big_tests/rebar.lock index b6882dd75e8..623b3611834 100644 --- a/big_tests/rebar.lock +++ b/big_tests/rebar.lock @@ -33,7 +33,6 @@ {<<"gen_fsm_compat">>,{pkg,<<"gen_fsm_compat">>,<<"0.3.0">>},0}, {<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1}, {<<"gun">>,{pkg,<<"gun">>,<<"1.3.2">>},1}, - {<<"ibrowse">>,{pkg,<<"ibrowse">>,<<"4.4.1">>},0}, {<<"jid">>,{pkg,<<"mongoose_jid">>,<<"1.0.0">>},0}, {<<"jiffy">>,{pkg,<<"jiffy">>,<<"1.0.8">>},0}, {<<"jsx">>,{pkg,<<"jsx">>,<<"2.9.0">>},2}, @@ -64,7 +63,6 @@ {<<"gen_fsm_compat">>, <<"5903549F67D595F58A7101154CBE0FDD46955FBFBE40813F1E53C23A970FF5F4">>}, {<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>}, {<<"gun">>, <<"542064CBB9F613650B8A8100B3A927505F364FBE198B7A5A112868FF43F3E477">>}, - {<<"ibrowse">>, <<"2B7D0637B0F8B9B4182DE4BD0F2E826A4DA2C9B04898B6E15659BA921A8D6EC2">>}, {<<"jid">>, <<"B6D8F9E3015CCB36868D5DB1E847C6176C4F7513360F11CA07B8B95DDC42421E">>}, {<<"jiffy">>, <<"60E36F00BE35E5AC6E6CF2D4CAF3BDF3103D4460AFF385F543A8D7DF2D6D9613">>}, {<<"jsx">>, <<"D2F6E5F069C00266CAD52FB15D87C428579EA4D7D73A33669E12679E203329DD">>}, @@ -94,7 +92,6 @@ {<<"gen_fsm_compat">>, <<"7153D11BAD328933D4B24E663D8CEC52874E14176C7FB392FA1FF768B17460D9">>}, {<<"goldrush">>, <<"99CB4128CFFCB3227581E5D4D803D5413FA643F4EB96523F77D9E6937D994CEB">>}, {<<"gun">>, <<"BA323F0A5FD8ABAC379A3E1FE6D8CE570C4A12C7FD1C68F4994B53447918E462">>}, - {<<"ibrowse">>, <<"1E86C591DBC6D270632625534986BECA30813AF7CE784E742E5FC38E342C29B3">>}, {<<"jid">>, <<"D96C1223660E54549305252A3492500980505652AEB80950E201A3C446C4C9D2">>}, {<<"jiffy">>, <<"F9AE986BA5A0854EB48CF6A76192D9367086DA86C20197DA430630BE7C087A4E">>}, {<<"jsx">>, <<"8EE1DB1CABAFDD578A2776A6AAAE87C2A8CE54B47B59E9EC7DAB5D7EB71CD8DC">>}, diff --git a/big_tests/tests/mod_http_upload_SUITE.erl b/big_tests/tests/mod_http_upload_SUITE.erl index 244a63a39a4..2337504d6e3 100644 --- a/big_tests/tests/mod_http_upload_SUITE.erl +++ b/big_tests/tests/mod_http_upload_SUITE.erl @@ -98,11 +98,11 @@ suite() -> %%-------------------------------------------------------------------- init_per_suite(Config) -> - ibrowse:start(), + inets:start(), escalus:init_per_suite(Config). end_per_suite(Config) -> - ibrowse:stop(), + inets:stop(), escalus:end_per_suite(Config). init_per_group(unset_size, Config) -> @@ -278,10 +278,10 @@ test_minio_upload(Config, ContentType) -> GetUrl = binary_to_list(extract_url(Result, <<"get">>)), PutUrl = binary_to_list(extract_url(Result, <<"put">>)), Header = generate_header(Config, ContentType), - PutRetValue = ibrowse:send_req(PutUrl, Header, put, ?MINIO_TEST_DATA), - ?assertMatch({ok, "200", _, []}, PutRetValue), - GetRetValue = ibrowse:send_req(GetUrl, [], get), - ?assertMatch({ok, "200", _, ?MINIO_TEST_DATA}, GetRetValue) + PutRetValue = httpc:request(put, {PutUrl, Header, [], ?MINIO_TEST_DATA}, [], []), + ?assertMatch({ok, {{_, 200, _}, _, _}}, PutRetValue), + GetRetValue = httpc:request(GetUrl), + ?assertMatch({ok, {{_, 200, _}, _, ?MINIO_TEST_DATA}}, GetRetValue) end). generate_header(Config, undefined) ->