Skip to content

Integration test changes#1240

Merged
TheRealFalcon merged 1 commit into
canonical:mainfrom
TheRealFalcon:integration-tests
Feb 3, 2022
Merged

Integration test changes#1240
TheRealFalcon merged 1 commit into
canonical:mainfrom
TheRealFalcon:integration-tests

Conversation

@TheRealFalcon
Copy link
Copy Markdown
Contributor

Proposed Commit Message

Integration test changes

* Wrap the log fetching code in a try/except in case file is missing
* Stop checking NoCloud seed dir when testing datasource detection

* Wrap the log fetching code in a try/except in case file is missing
* Stop checking NoCloud seed dir when testing datasource detection
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.

LGTM once CI passes.

tarball_path = log_dir / "cloud-init.tar.gz"
instance.pull_file("/var/tmp/cloud-init.tar.gz", tarball_path)
try:
instance.pull_file("/var/tmp/cloud-init.tar.gz", tarball_path)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Whoops my recent changes to pull_file broke us thanks.

@TheRealFalcon TheRealFalcon merged commit 3f0918b into canonical:main Feb 3, 2022
@TheRealFalcon TheRealFalcon deleted the integration-tests branch February 3, 2022 21:37
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