This PR adds a variety of things to make incoming call tests less flakey. Firstly, unregistration is added. Secondly, an override client ID is possible using an env var for the server. If the env var is present, all tokens vended from the server will have that client ID. We set this uniquely per CircleCI run.
Breakdown
Update CircleCI configs to latest android dependencies.
Change CircleCI caching.
Add client identity override env var support to server.
Use client identity override in CircleCI job.
Add unregistration flow.
Use unregistration flow in incoming call tests.
Adjust incoming call test setup and teardown, adding waits and unregistering as needed.
Add server unit tests for new env var.
Validation
A. Lot. Of. CI.
Additional Notes
N/A
Contributing to Twilio
All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.
[x] I acknowledge that all my contributions will be made under the project's license.
Submission Checklist
CHANGELOG.md
reflects any feature, bug fixes, or known issues made in the source codeFiles changed
tab was made prior to submitting the pull request ensuring the style guide was followedDescription
This PR adds a variety of things to make incoming call tests less flakey. Firstly, unregistration is added. Secondly, an override client ID is possible using an env var for the server. If the env var is present, all tokens vended from the server will have that client ID. We set this uniquely per CircleCI run.
Breakdown
Validation
Additional Notes
N/A
Contributing to Twilio