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

Update the NetworkConnectivityTests to use sdk-test-proxy #1003

Closed
7 tasks done
lawrence-forooghian opened this issue Feb 14, 2023 · 1 comment · Fixed by #1012
Closed
7 tasks done

Update the NetworkConnectivityTests to use sdk-test-proxy #1003

lawrence-forooghian opened this issue Feb 14, 2023 · 1 comment · Fixed by #1012
Assignees

Comments

@lawrence-forooghian
Copy link
Collaborator

lawrence-forooghian commented Feb 14, 2023

I’ve created a standalone server in https://github.com/ably/sdk-test-proxy which contains all of the fault proxy code that’s currently being used by AAT Android’s NetworkConnectivityTests. I want to remove the proxy code from AAT Android and update it to instead use this standalone server.

First of all I want to address these outstanding issues for the proxy:

Branch use-external-proxy-for-NetworkConnectivityTests in this repo has been updated to use the external server. All of the NetworkConnectivityTests are passing on this branch.

The remaining work to do is the following:

  • Tidy up the updated code on that branch (make sure docstrings are still correct)
  • Add proxy as a submodule so that we can lock its version
  • Add instructions for running proxy locally
  • Fix CI build (i.e. run proxy in CI)
  • Update the test skipping mechanism
  • Integrate with Subscriber Connectivity Tests #924 once that’s merged
  • Check if Android version limitations still apply
@sync-by-unito
Copy link

sync-by-unito bot commented Feb 14, 2023

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3345

lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
TODO which of the workflows are we meant to be running the server on?
TODO can we decrease the 1m 35s this takes to start?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
TODO can we decrease the 1m 35s this takes to start?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
TODO can we decrease the 1m 35s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
TODO can we decrease the 1m 35s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
TODO can we decrease the 1m 35s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
TODO can we decrease the 1m 35s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 16, 2023
TODO can we decrease the 1m 55s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
TODO can we decrease the 1m 55s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?
TODO don't run if we’re not going to run NetworkConnectivityTests? or do the version limitations not apply any more?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
TODO can we decrease the 1m 55s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?
TODO don't run if we’re not going to run NetworkConnectivityTests? or do the version limitations not apply any more?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
TODO can we decrease the 1m 55s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?
TODO don't run if we’re not going to run NetworkConnectivityTests?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
TODO can we decrease the 1m 55s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?
TODO don't run if we’re not going to run NetworkConnectivityTests?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
TODO can we decrease the 1m 55s this takes to start?
TODO can we reduce the risk of one test case or test run contaminating another?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
TODO can we decrease the 1m 55s this takes to start?

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
This replaces the in-process proxy with an external proxy that runs on the
machine that hosts the Android emulator. We’re doing this so that the proxy
code can be reused for the Swift Asset Tracking SDKs.

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
This replaces the in-process proxy with an external proxy that runs on the
machine that hosts the Android emulator. We’re doing this so that the proxy
code can be reused for the Swift Asset Tracking SDKs.

Resolves #1003.
lawrence-forooghian added a commit that referenced this issue Feb 20, 2023
This replaces the in-process proxy with an external proxy that runs on the
machine that hosts the Android emulator. We’re doing this so that the proxy
code can be reused for the Swift Asset Tracking SDKs.

Resolves #1003.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant