Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tests #446

Merged
merged 16 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/autobahn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
elixir: ${{ fromJSON(inputs.elixirs) }}
otp: ${{ fromJSON(inputs.erlangs) }}
case:
case:
- "1.*,2.*,3.*,4.*,5.*,6.*,7.*,8.*,10.*"
- "9.1.*"
- "9.2.*"
Expand Down Expand Up @@ -69,4 +69,4 @@ jobs:
run: |
mix deps.get
- name: Run Autobahn test
run: mix test --only external_conformance test/bandit/websocket/autobahn_test.exs
run: mix test --only slow test/bandit/websocket/autobahn_test.exs
2 changes: 1 addition & 1 deletion .github/workflows/h2spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
run: |
mix deps.get
- name: Run h2spec test
run: mix test --only external_conformance test/bandit/http2/h2spec_test.exs
run: mix test --only slow test/bandit/http2/h2spec_test.exs
2 changes: 1 addition & 1 deletion test/bandit/clock_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule ClockTest do
warnings =
capture_log(fn ->
{"date", date} = Bandit.Clock.date_header()
assert TestHelpers.valid_date_header?(date)
assert DateHelpers.valid_date_header?(date)
end)

assert warnings =~ "Header timestamp couldn't be fetched from ETS cache"
Expand Down
Loading
Loading