Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Minor change to get a test passing locally.
Browse files Browse the repository at this point in the history
This is another reason why a proper connection manager would be nice to
have; things like this really shouldn't matter.

Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
  • Loading branch information
pattivacek committed Jun 9, 2020
1 parent 4cce15d commit 81e1837
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions tests/ipsecondary_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ def test_secondary_ostree_reboot(uptane_repo, secondary, aktualizr, treehub, sys
sysroot.update_revision(pending_rev)

aktualizr.set_mode('full')
with aktualizr:
with secondary:
with secondary:
with aktualizr:
director.wait_for_install()

if not director.get_install_result():
Expand Down Expand Up @@ -515,27 +515,31 @@ def test_primary_multiple_secondaries(uptane_repo, secondary, secondary2, aktual
initial_cwd = getcwd()
chdir(input_params.build_dir)

#test_suite = [
#test_secondary_update,
#test_secondary_update_if_secondary_starts_first,
#test_secondary_update_if_primary_starts_first,
#test_add_secondary,
#test_remove_secondary,
#test_replace_secondary,
#test_replace_secondary_same_port,
#test_change_secondary_port,
#test_secondary_install_timeout,
#test_primary_timeout_during_first_run,
#test_primary_timeout_after_device_is_registered,
#test_primary_multiple_secondaries,
#]

#if input_params.ostree:
#test_suite += [
#test_secondary_ostree_update,
#test_secondary_ostree_reboot,
#]

test_suite = [
test_secondary_update,
test_secondary_update_if_secondary_starts_first,
test_secondary_update_if_primary_starts_first,
test_add_secondary,
test_remove_secondary,
test_replace_secondary,
test_replace_secondary_same_port,
test_change_secondary_port,
test_secondary_install_timeout,
test_primary_timeout_during_first_run,
test_primary_timeout_after_device_is_registered,
test_primary_multiple_secondaries,
test_secondary_ostree_reboot,
]

if input_params.ostree:
test_suite += [
test_secondary_ostree_update,
test_secondary_ostree_reboot,
]

with TestRunner(test_suite) as runner:
test_suite_run_result = runner.run()

Expand Down

0 comments on commit 81e1837

Please sign in to comment.