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

[test] fix listening network tests #2416

Merged
merged 1 commit into from Mar 31, 2022

Conversation

keeramis
Copy link
Contributor

@keeramis keeramis commented Mar 31, 2022

Problem

NETWORK_00 and NETWORK_01 tests which are in the beginning of the test suite depend on the previous tests to establish a cloud connection. If a cloud connection was not established successfully in the previous tests, these tests immediately fail.

Solution

Reduce dependency by adding API to connect to Network and add relevant scope guards to ensure listening mode is disabled in LISTENING_XX tests.

Steps to Test

Run on-device tests

References

N/A


Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@technobly technobly force-pushed the tests/fix-listening-network-tests branch from cde82bc to dc63811 Compare March 31, 2022 17:20
@technobly technobly added this to the 3.3.0 milestone Mar 31, 2022
@technobly technobly merged commit cbe11c0 into develop Mar 31, 2022
@technobly technobly deleted the tests/fix-listening-network-tests branch March 31, 2022 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants