1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/xenserver
Sergio Rubio 65e1c98c3d * [xenserver|compute] set_attribute request now accepts var args
- added new tests

* [xenserver|compute]  VBD fixes and cleanup
  - VBD.metrics now returns nil when VBD not attached
  - VBD tests fixes and cleanup

* [xenserver|compute] cleanup tests and add new helpers
2012-04-19 10:53:56 +02:00
..
models/compute * [xenserver|compute] set_attribute request now accepts var args 2012-04-19 10:53:56 +02:00
requests/compute * [xenserver|compute] set_attribute request now accepts var args 2012-04-19 10:53:56 +02:00
compute_tests.rb * Added some more tests 2012-04-04 19:48:21 +02:00
helper.rb * [xenserver|compute] set_attribute request now accepts var args 2012-04-19 10:53:56 +02:00
README * [xenserver|compute] initial release 2012-04-02 13:25:03 +02:00
xenserver_tests.rb * Define missing InvalidLogin exception 2012-04-02 18:10:56 +02:00

# Running the XenServer tests.

Tweak the helper.rb file in tests/xenserver/helper.rb to fit your needs.

Fog credentials in $HOME/.fog file are used to run the tests. In particular:

    :default:
      :xenserver_url: xenserver-test
      :xenserver_username: root
      :xenserver_password: secret

We need a working template named squeeze-test available in the XenServer
to perform the tests. Change the template name to fit your needs
or create a working template named squeeze-test.

The tests creates a few VMs during the flight. Make sure you have enough RAM and
Storage available in the hypervisor.

Run the XenServer provider tests issuing:

    shindo tests/xenserver