-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix HLS OpenAPI warning #202
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #202 +/- ##
==========================================
- Coverage 87.12% 87.08% -0.04%
==========================================
Files 74 76 +2
Lines 1538 1541 +3
==========================================
+ Hits 1340 1342 +2
- Misses 198 199 +1
Continue to review full report in Codecov by Sentry.
|
b0a94e2
to
3afc38d
Compare
Co-authored-by: Jakub Pisarek <99591440+sgfn@users.noreply.github.com>
@@ -37,29 +39,34 @@ defmodule Fishjam.Component.HLS.ManagerTest do | |||
hls_dir: hls_dir, | |||
options: options | |||
} do | |||
MockManager.http_mock_expect(0, status_code: 200) | |||
Application.put_env(:ex_aws, :awscli_auth_adapter, Fishjam.Adapter) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this envs?
pid = MockManager.start_mock_engine() | ||
|
||
{:ok, manager} = Manager.start(room_id, pid, hls_dir, options) | ||
ref = Process.monitor(manager) | ||
|
||
assert Process.alive?(pid) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is necessary, as next line does the same thing
@@ -24,9 +24,10 @@ defmodule FishjamWeb.Integration.PeerSocketTest do | |||
|
|||
alias FishjamWeb.PeerSocket | |||
|
|||
socket "/socket/peer", PeerSocket, | |||
socket("/socket/peer", PeerSocket, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👎
Acknowledging the stipulations set forth:
OpenAPI warning is fixed by how object
S3Credentials
is referenced.Error with AuthCache was fixed by providing
AuthConfigAdapter
, which is the wayAuthCache
is tested inExAws
.