-
Notifications
You must be signed in to change notification settings - Fork 6
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
chore: optional calling [WPB-9999] #3043
Conversation
Bencher Report
Click to view all benchmark results
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3043 +/- ##
===========================================
- Coverage 52.52% 52.50% -0.02%
===========================================
Files 1301 1302 +1
Lines 50044 50062 +18
Branches 4663 4663
===========================================
+ Hits 26284 26285 +1
- Misses 21883 21900 +17
Partials 1877 1877
Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 3102 Passed, 106 Skipped, 11.28s Total Time |
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.
What is the goal exactly? Disabling calling for tango tests?
It definitely isn't solving the issue, but rather accepting the issue exists and making the production code less null-safe in the process.
If the idea is to accept that calling won't work in tango tests, we could just disable it completely.
When creating CoreLogic
, we could pass a Calling.Disabled
or something like that, that will do NO-OPs in every calling operation without breaking anything nor sacrifice the CallManagerImpl
.
logic/src/commonJvmAndroid/kotlin/com/wire/kalium/logic/feature/call/CallManagerImpl.kt
Outdated
Show resolved
Hide resolved
logic/src/commonJvmAndroid/kotlin/com/wire/kalium/logic/feature/call/CallManagerImpl.kt
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
* chore: nullable calling instance * uncommented poc test * added error logs when failed to load library * review fixes * reverted unnecessary changes
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Sometimes calling library doesn't load for tango tests.
Causes (Optional)
Flaky tango tests
Solutions
Make calling manager optional by kalium config to disable it for tests
How to Test
run
givenEmailAndPasswordWhenLoggingInThenRegisterClientAndLogout
test