chore(tests): remove dead code and hardcoded sleeps#2900
Conversation
|
@p-targowicz, start a full integration test pipeline with:
my commands and optionsYou can prevent me from automatically starting CI pipelines:
You can trigger a client pipeline on multiple prs with:
You can trigger a client pipeline for a specific Mender Client release with:
You can trigger GitHub->GitLab branch sync with:
You can print PR statistics for a repository with:
You can cherry pick to a given branch or branches with:
|
|
@mender-test-bot start integration pipeline |
|
Hello 😺 I created a pipeline for you here: Pipeline-2536252553 Build Configuration Matrix
|
5301a8b to
f4fc250
Compare
|
@mender-test-bot start integration pipeline |
|
Hello 😺 I created a pipeline for you here: Pipeline-2536354903 Build Configuration Matrix
|
94ab95e to
c27ba83
Compare
|
@mender-test-bot start integration pipeline |
|
Hello 😺 I created a pipeline for you here: Pipeline-2537195101 Build Configuration Matrix
|
|
@mender-test-bot start integration pipeline |
|
Hello 😺 I created a pipeline for you here: Pipeline-2537196703 Build Configuration Matrix
|
c27ba83 to
c6a426a
Compare
|
@mender-test-bot start integration pipeline |
|
Hello 😺 I created a pipeline for you here: Pipeline-2538446691 Build Configuration Matrix
|
c6a426a to
e231fb0
Compare
|
@mender-test-bot start integration pipeline |
|
Hello 😺 I created a pipeline for you here: Pipeline-2538886406 Build Configuration Matrix
|
e231fb0 to
8bfe6db
Compare
…i-pattern Remove extra/travis-testing (Travis CI legacy), extra/stripe-testing, testutils/integration/stripe.py (unused, no imports), and stripe from python requirements. Replace time.sleep() calls waiting for mender-connect reconnection with wait_for_connect(), which polls the management API via redo.retrier. Also remove the redundant 4s sleep before an existing wait_for_connect() call in set_limits(). Replace list(set([device["id"] for device in ...])) with a direct get_devices_status() call. Device IDs are already unique so the set() was unnecessary, and the comprehension discarded the status dicts while silently changing devices[0] from a dict to a raw ID string. Ticket: QA-1616 Ticket: QA-1638 Signed-off-by: Patryk Targowicz <patryk.targowicz@northern.tech>
8bfe6db to
5048872
Compare
|
@mender-test-bot start integration pipeline |
|
Hello 😺 I created a pipeline for you here: Pipeline-2539937154 Build Configuration Matrix
|
extra/travis-testing/(Travis CI legacy, repo uses GitLab CI)extra/stripe-testing/andtestutils/integration/stripe.py(Stripe testing infra, not referenced in any CI config or test imports) + dropstripefrom python requirementstime.sleep()calls intest_mender_connect.pyandtest_filetransfer.pythat wait for mender-connect reconnection withwait_for_connect(), which polls the management API viaredo.retrierQA-1616, QA-1638