Fix ironic developer quickstart document
The running tempest section has a deprecated option "all-plugin", if developer follows the steps, he will get an InvocationError. This patch is going to fix it and a broken URL. Change-Id: I7874817d06309287cba27d2a3d3ec7fe7c8122a2 Story: 2004139 Task: 27605 Co-Authored-By: Iury Gregory Melo Ferreira <iurygregory@gmail.com>
This commit is contained in:
parent
ab1b117ee4
commit
016b7dd6c5
@ -212,7 +212,7 @@ Next, install and configure system dependencies.
|
|||||||
Step 2: Install System Dependencies Locally
|
Step 2: Install System Dependencies Locally
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
This option will install RabbitMQ and MySQL on your local system. This may not
|
This step will install RabbitMQ and MySQL on your local system. This may not
|
||||||
be desirable in some situations (eg, you're developing from a laptop and do not
|
be desirable in some situations (eg, you're developing from a laptop and do not
|
||||||
want to run a MySQL server on it all the time).
|
want to run a MySQL server on it all the time).
|
||||||
|
|
||||||
@ -680,16 +680,16 @@ First, navigate to Tempest directory::
|
|||||||
cd /opt/stack/tempest
|
cd /opt/stack/tempest
|
||||||
|
|
||||||
To run all tests from the `Ironic plugin
|
To run all tests from the `Ironic plugin
|
||||||
<https://git.openstack.org/cgit/openstack/ironic/tree/ironic_tempest_plugin?h=master>`_,
|
<https://git.openstack.org/cgit/openstack/ironic-tempest-plugin/tree/?h=master>`_,
|
||||||
execute the following command::
|
execute the following command::
|
||||||
|
|
||||||
tox -e all-plugin -- ironic
|
tox -e all -- ironic
|
||||||
|
|
||||||
To limit the amount of tests that you would like to run, you can use
|
To limit the amount of tests that you would like to run, you can use
|
||||||
a regex. For instance, to limit the run to a single test file, the
|
a regex. For instance, to limit the run to a single test file, the
|
||||||
following command can be used::
|
following command can be used::
|
||||||
|
|
||||||
tox -e all-plugin -- ironic_tempest_plugin.tests.scenario.test_baremetal_basic_ops
|
tox -e all -- ironic_tempest_plugin.tests.scenario.test_baremetal_basic_ops
|
||||||
|
|
||||||
|
|
||||||
Debugging Tempest tests
|
Debugging Tempest tests
|
||||||
|
Loading…
Reference in New Issue
Block a user