Skip to content

testing: fix test_ssh_import_id.py (SC-272)#954

Merged
blackboxsw merged 1 commit into
canonical:mainfrom
TheRealFalcon:fix-ssh-import-test
Jul 29, 2021
Merged

testing: fix test_ssh_import_id.py (SC-272)#954
blackboxsw merged 1 commit into
canonical:mainfrom
TheRealFalcon:fix-ssh-import-test

Conversation

@TheRealFalcon
Copy link
Copy Markdown
Contributor

Proposed Commit Message

testing: fix test_ssh_import_id.py

test_ssh_import_id.py occassionally fails because cloud-init finishes
before the keys have been fully imported. A retry has been added to the
test .

Additional Context

Test Steps

pytest tests/integration_tests/modules/test_ssh_import_id.py

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

test_ssh_import_id.py occassionally fails because cloud-init finishes
before the keys have been fully imported. A retry has been added to the
test .
@TheRealFalcon TheRealFalcon changed the title testing: fix test_ssh_import_id.py testing: fix test_ssh_import_id.py (SC-272) Jul 26, 2021
Copy link
Copy Markdown
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 nice little decorator

@blackboxsw blackboxsw merged commit 824977b into canonical:main Jul 29, 2021
TheRealFalcon added a commit to TheRealFalcon/cloud-init that referenced this pull request Aug 10, 2021
test_ssh_import_id.py occassionally fails because cloud-init finishes
before the keys have been fully imported. A retry has been added to the
test.
@TheRealFalcon TheRealFalcon deleted the fix-ssh-import-test branch March 21, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants