ScaleComputing / HyperCoreAnsibleCollection

Official Ansible collection for Scale Computing SC//HyperCore (HC3) v1 API
GNU General Public License v3.0
12 stars 8 forks source link

Fix time zone and time server integ tests #131

Closed justinc1 closed 1 year ago

justinc1 commented 1 year ago

Ensure time_zone_info is tested with 0 and 1 time zone configured

Test https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/4259825907/jobs/7412400599 failed because no timezone was present, and "actual.record.0.timeZone" tried to get first record from empty list.

Ensure time_server_info is tested with 0 and 1 time server configured

Test https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/4259825907/jobs/7412400755 failed because no timeserver was present, and "time_server.record.0.host" tried to get first record from empty list.