I just want more integration tests to pass. Main problems are that sometimes test cluster does not support the needed feature (say virtual disks). The integration_config.yml is extended to allow detecting what cluster does offer.
The PR does fix some of tests, but not all. I guess it should be viewed commit-by-commit. The main part is spliting larger files into smaller, to make them usable on different clusters.
virtual_disk/virtual_disk_info - on version 9.1 run tests, but expect error, and check error message is as expected.
cluster_name - on version 9.1 run test, but expect error, and check error message is as expected. We can however check if name returned by cluster_info is as expected ("HC3 System").
version_update_info - on version 9.1.14 we know 9.1.23 will be offered, test that. On version 9.2 - we know no updates will be offered, test that.
vm_replication_info/vm_replication - on cluster with no replication, we can only check that VM replication is correctly reported as not being replicated. We need to run test on .50 test cluster to actually test replication.
I just want more integration tests to pass. Main problems are that sometimes test cluster does not support the needed feature (say virtual disks). The
integration_config.yml
is extended to allow detecting what cluster does offer.The PR does fix some of tests, but not all. I guess it should be viewed commit-by-commit. The main part is spliting larger files into smaller, to make them usable on different clusters.
virtual_disk/virtual_disk_info - on version 9.1 run tests, but expect error, and check error message is as expected.
cluster_name - on version 9.1 run test, but expect error, and check error message is as expected. We can however check if name returned by cluster_info is as expected ("HC3 System").
version_update_info - on version 9.1.14 we know 9.1.23 will be offered, test that. On version 9.2 - we know no updates will be offered, test that.
vm_replication_info/vm_replication - on cluster with no replication, we can only check that VM replication is correctly reported as not being replicated. We need to run test on .50 test cluster to actually test replication.
This is an older CI job where those tests were failing: https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/4565210170/jobs/8056036571
A new job: https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/4605693676. After one retry (due to connection refused error), most jobs should pass.