harvester / tests

Harvester test cases
Apache License 2.0
10 stars 31 forks source link

[TEST][Proposal] Let test cases use same OS image configured in config.yml, thus easy to test OS support matrix. #1036

Open albinsun opened 9 months ago

albinsun commented 9 months ago

What's the test to develop? Please describe

Currently different test suite may have their own image setting, for example

We may change to image section in config.yml to something like

# URL to download the Windows image
win-image-url: ''
linux-image-url: http://192.168.123.1:8080/openSUSE-Leap-15.5.x86_64-NoCloud.qcow2
...

and refactor all test cases to use it, thus

  1. We can have a concrete test result for specific OS version
  2. To test different OS for support matrix, just change linux-image-url and run a complete test.
albinsun commented 9 months ago

cc. @khushboo-rancher, @bk201 and @lanfon72

bk201 commented 9 months ago

+1 to this

lanfon72 commented 9 months ago

let's put this into schedule. It would affect to fixtures and config options, and to be aware that if we are going to generalize the image, sshuser would need to be consider in the config option.