Simon Pasquier 744cf3aff1 Add more checks for InfluxDB/Grafana
This change adds a few checks after the deployment of the
InfluxDB/Grafana plugin:

  - Check that authorized users can access the API (InfluxDB and Grafana)
  - Check that unauthorized users can't access the API (InfluxDB and
    Grafana)
  - Check that the root user can login and has admin rights (InfluxDB)
  - Check that the login page is accessible (Grafana)

Change-Id: I1fa49469f71b2d1cd3e99bac76de81f3f7a68c2b
2016-05-12 16:38:14 +02:00
2016-05-12 10:36:32 +02:00
2016-04-22 10:50:26 +00:00
2016-05-12 10:36:32 +02:00
2016-05-12 10:36:32 +02:00

StackLight tests

This project contains the functional tests for the StackLight plugins.

It is based on two other projects:

Getting started

  1. Provision the SQL database for fuel-qa (see the official documentation for the detailed procedure).

  2. Prepare the environment:

     cp openrc.default openrc
     # Edit the openrc file as needed
     . openrc
     ./utils/fuel-qa-builder/prepare_env.sh
    
  3. Activate the Python virtual environment:

     . $VENV_PATH/bin/activate
    
  4. Run the tests:

     ./utils/jenkins/system_tests.sh -k -K -j fuelweb_test -t test -w $(pwd) -o --group=<your_test_group_to_run>
    

Contributing

If you would like to contribute to the development of this plugin, you must follow the OpenStack development workflow instructions.

Patch reviews take place on the OpenStack Gerrit system.

Guidelines:

  • Run tox before submitting a review.

  • Declare test groups using the following pattern:

@test(groups=["<full_unique_name_of_test>",
              "<test_method_purpose>",
              "<plugin_name>",
              "<test_category>"])

For example:

@test(groups=["install_influxdb_grafana",
              "install",
              "influxdb_grafana",
              "smoke"])

Communication

The OpenStack Development Mailing List is the preferred way to communicate with the members of the project. Emails should be sent to openstack-dev@lists.openstack.org with the subject prefixed by [fuel][plugins][lma].

Description
Integration tests for StackLight plugins
Readme 2.9 MiB
Languages
Python 93.2%
Shell 6.8%