Skip to content
pedro-monteiro edited this page Feb 6, 2014 · 1 revision

Openstack-factory has some integration tests that need to be ran in order to confirm it is working as it should.

Firstly you need to create a file "credentials.properties" inside the integration test package with the following information (you need to insert functional HPCloud access information):

testAccessId=INSERT ID HERE
testAcessKey=INSERT SECRET KEY HERE
factoryUser=user
factorySecret=password  

VirtualServerResourceTest.java

  • testAccountTest()

No modifications needed on this test.

  • testCreateVM()

Make sure the security group exists and check is the test creates a VM on HPCloud

  • testAssimilateVM()

You need the public IP address and name for the virtual machine you want to assimilate. Check on the local database if the VM is assimilated.

Clone this wiki locally