Skip to content

Commit

Permalink
improve ceph test
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlah committed Oct 14, 2023
1 parent 19d91ff commit 48cdb61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ceph_container_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ defmodule CephContainerTest do
{:ok, 404, _headers, _body_ref} =
:hackney.request(:get, "http://127.0.0.1:#{host_port}/bucket_that_does_not_exist")

{:ok, 403, _headers, body_ref} = :hackney.request(:get, "http://127.0.0.1:#{host_port}/demo")
{:ok, 403, _headers, _body_ref} = :hackney.request(:get, "http://127.0.0.1:#{host_port}/demo")

{:ok, 200, _headers, _body_ref} = :hackney.request(:get, "http://127.0.0.1:#{host_port}")
{:ok, 200, _headers, body_ref} = :hackney.request(:get, "http://127.0.0.1:#{host_port}")
{:ok, body} = :hackney.body(body_ref)
body_str = IO.iodata_to_binary(body)

Expand Down

0 comments on commit 48cdb61

Please sign in to comment.