-
Notifications
You must be signed in to change notification settings - Fork 54
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
Setup installer testing #848
Conversation
s.GatherAllLogs() | ||
} else { | ||
// Trash disk so we boot from iso after each test | ||
s.EmptyDisk("/dev/sda") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should empty the disk before each one? Otherwise it depends from the first one to be able to run successfully (and can be a bit confusing?)
tests/installer/installer_test.go
Outdated
}) | ||
Context("Using legacy bios", func() { | ||
Context("generic tests", func() { | ||
It("booted from iso", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmm and maybe we can do these assertion right after we empty the disk, before each suite?
Overall looks good! 💯 |
- Add make target for creating a vm from the iso - Add some generic tests to check if we booted from cd - Add placeholders for future tests for installer Signed-off-by: Itxaka <igarcia@suse.com>
Signed-off-by: Itxaka <igarcia@suse.com>
Signed-off-by: Itxaka <igarcia@suse.com>
Signed-off-by: Itxaka <igarcia@suse.com>
Signed-off-by: Itxaka <igarcia@suse.com>
Now we have 2 different paths to test both boot methods. Both paths have distinct setups as they differ a bit in the boot steps Signed-off-by: Itxaka <igarcia@suse.com>
Both iso and efi can now run Signed-off-by: Itxaka <igarcia@suse.com>
Signed-off-by: Itxaka <igarcia@suse.com>
9f98cc6
to
3260635
Compare
Signed-off-by: Itxaka <igarcia@suse.com>
2612fb5
to
976e5f6
Compare
Signed-off-by: Itxaka <igarcia@suse.com>
976e5f6
to
b98600b
Compare
No description provided.