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

🤖 Fix provider tests #1674

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented Aug 2, 2023

One test that is no longer valid and in any case should be moved to acceptance tests and the other that need an extra key in the config to auto reboot

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

One test that is no longer valid and in any case should be moved to
acceptance tests and the other that need an extra key in the config to
auto reboot

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from a team August 2, 2023 17:10
@Itxaka
Copy link
Member Author

Itxaka commented Aug 2, 2023

only affect provider tests which are in the master pipeline, tested over https://github.com/kairos-io/kairos/actions/runs/5739532482 with green results, merging directly to unblock master pipeline

@Itxaka Itxaka merged commit 1c87d69 into kairos-io:master Aug 2, 2023
6 of 8 checks passed
@@ -72,7 +72,8 @@ var _ = Describe("kairos qr code install", Label("provider", "provider-qrcode-in
Expect(err).ToNot(HaveOccurred(), device)

By("registering with a screenshot")
err = register("fatal", fileName, "./assets/config.yaml", strings.TrimSpace(device), true)
// pass a config that auto reboots after install as we cannot know when the machine has finished
err = register("fatal", fileName, "./assets/config_with_reboot.yaml", strings.TrimSpace(device), true)
Copy link
Contributor

Choose a reason for hiding this comment

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

The file name above has a typo: _rebot vs reboot. This file here doesn't exist. How did this work?

Copy link
Member Author

Choose a reason for hiding this comment

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

It worked on my branch where I had moment of brilliance and was able to spell reboot .

No wonder it's still failing. You just saved me a couple of hours of troubleshooting lol

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