~ionutbalutoiu/charms/trusty/neutron-api/next

« back to all changes in this revision

Viewing changes to tests/README

  • Committer: Ryan Beisner
  • Date: 2015-08-22 03:57:12 UTC
  • mto: This revision was merged to the branch mainline in revision 139.
  • Revision ID: ryan.beisner@canonical.com-20150822035712-cnvtcg46wg642dha
update makefile, amulet test dependencies, test definitions, amulet test

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This directory provides Amulet tests that focus on verification of
2
2
neutron-api deployments.
3
3
 
 
4
test_* methods are called in lexical sort order, although each individual test
 
5
should be idempotent, and expected to pass regardless of run order.
 
6
 
 
7
Test name convention to ensure desired test order:
 
8
    1xx service and endpoint checks
 
9
    2xx relation checks
 
10
    3xx config checks
 
11
    4xx functional checks
 
12
    9xx restarts and other final checks
 
13
 
 
14
Common relation definitions:
 
15
  - [ neutron-api, mysql ]
 
16
  - [ neutron-api, rabbitmq-server ]
 
17
  - [ neutron-api, nova-cloud-controller ]
 
18
  - [ neutron-api, neutron-openvswitch ]
 
19
  - [ neutron-api, keystone ]
 
20
  - [ neutron-api, neutron-gateway ]
 
21
 
 
22
Resultant relations of neutron-api service:
 
23
    relations:
 
24
      amqp:
 
25
      - rabbitmq-server
 
26
      cluster:
 
27
      - neutron-api
 
28
      identity-service:
 
29
      - keystone
 
30
      neutron-api:
 
31
      - nova-cloud-controller
 
32
      neutron-plugin-api:
 
33
      - neutron-openvswitch
 
34
      shared-db:
 
35
      - mysql
 
36
 
4
37
In order to run tests, you'll need charm-tools installed (in addition to
5
38
juju, of course):
6
39
    sudo add-apt-repository ppa:juju/stable