-
Notifications
You must be signed in to change notification settings - Fork 131
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
On init and if upload is disabled, see if we need to resend a de… #545
Conversation
cfddcb2
to
a1aeec4
Compare
Codecov Report
@@ Coverage Diff @@
## master #545 +/- ##
============================================
+ Coverage 74.43% 74.47% +0.04%
Complexity 334 334
============================================
Files 100 100
Lines 5886 5897 +11
Branches 745 746 +1
============================================
+ Hits 4381 4392 +11
Misses 965 965
Partials 540 540
Continue to review full report at Codecov.
|
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.
Is there a way to write a test for this?
There is! Let me do that. |
Looks like it currently already retries: https://github.com/mozilla/glean/blob/master/glean-core/android/src/main/java/mozilla/telemetry/glean/scheduler/DeletionPingUploadWorker.kt#L188 As I understand it it's tried for a total runtime of 10 minutes (unless force-stopped I guess). Just makes it a bit harder to test. |
…n request ping No new ping will be generated. It will only sent a previously-failed ping, if any.
No new ping will be generated.
It will only sent a previously-failed ping, if any.
I would block that on #539, so that I can include the necessary Python changes as well