~corey.bryant/charms/trusty/keystone/python-six

« back to all changes in this revision

Viewing changes to tests/README

  • Committer: Liam Young
  • Date: 2014-07-21 09:49:40 UTC
  • mfrom: (68.1.6 keystone)
  • Revision ID: liam.young@canonical.com-20140721094940-ffsywsa04ocxqhfa
[corey.bryant,r=gnuoy] Sleep for 10 seconds before checking if keystone-all has restarted. Sync with charm-helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
In other words, the code should have the ability to be re-run without changing
30
30
the results beyond the initial run.  This enables editing and re-running of a
31
31
test module against an already deployed environment, as described above.
 
32
 
 
33
Manual debugging tips:
 
34
 
 
35
  * Set the following env vars before using the OpenStack CLI as admin:
 
36
      export OS_AUTH_URL=http://`juju-deployer -f keystone 2>&1 | tail -n 1`:5000/v2.0
 
37
      export OS_TENANT_NAME=admin
 
38
      export OS_USERNAME=admin
 
39
      export OS_PASSWORD=openstack
 
40
      export OS_REGION_NAME=RegionOne
 
41
 
 
42
  * Set the following env vars before using the OpenStack CLI as demoUser:
 
43
      export OS_AUTH_URL=http://`juju-deployer -f keystone 2>&1 | tail -n 1`:5000/v2.0
 
44
      export OS_TENANT_NAME=demoTenant
 
45
      export OS_USERNAME=demoUser
 
46
      export OS_PASSWORD=password
 
47
      export OS_REGION_NAME=RegionOne