Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Aug 18, 2023
1 parent 39bf843 commit 187a538
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/req/steps_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ defmodule Req.StepsTest do
assert Req.get!(c.url).body == "foo"
end

@tag :otp24
test "multiple codecs with multiple headers" do

Check failure on line 253 in test/req/steps_test.exs

View workflow job for this annotation

GitHub Actions / test (1.13, 24.3.4.10)

test decompress_body multiple codecs with multiple headers (Req.StepsTest)
{:ok, listen_socket} = :gen_tcp.listen(0, mode: :binary, active: false)
{:ok, port} = :inet.port(listen_socket)
Expand All @@ -274,6 +275,7 @@ defmodule Req.StepsTest do
assert Req.get!("http://localhost:#{port}").body == "foo"
end

@tag :otp24
test "brotli", c do

Check failure on line 279 in test/req/steps_test.exs

View workflow job for this annotation

GitHub Actions / test (1.13, 24.3.4.10)

test decompress_body brotli (Req.StepsTest)
Bypass.expect(c.bypass, "GET", "/", fn conn ->
{:ok, body} = :brotli.encode("foo")
Expand Down
5 changes: 4 additions & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
ExUnit.configure(exclude: :integration)
excludes = [:integration]
excludes = excludes ++ if System.otp_release() < "24", do: [:otp24], else: []

ExUnit.configure(exclude: excludes)
ExUnit.start()

0 comments on commit 187a538

Please sign in to comment.