Commit Graph

11 Commits

Author SHA1 Message Date
chao liu 8005a7d916 use . instead of source.
Code conventions: Use “.” to source script files
When you have to source a script file, for example ,
a credentials file to gain access to user-only or
 admin-only CLI commands, use . instead of source.
See more:
http://docs.openstack.org/contributor-guide/writing-style/code-conventions

Change-Id: Ic4fd2da622f21e51f813e711cdedb7d1998592fd
2018-01-29 06:32:40 -08:00
Michael Lelyakin 1f2dd3d929 Remove some debugging artifacts from file
This "show" command is really unneeded in
post-test-hook. It atifacts of debug integration
tests.

Change-Id: If96351be498d2ed5726fcf624160d89d9be172ed
2016-11-10 20:02:40 +03:00
Vitaly Gridnev 6deb3c5fcb Fix gate jobs
After change Icca91c53eabf18c3109b3931ed53f70eaaaa0e56
method "image_list_detailed" returns list of "Image"
instances which inherit from
openstack_dashboard.api.base.APIResourceWrapper.
For getting "image_type" attribute we need to use "get"
method now.

Closes-bug: #1624318
Change-Id: I363ddc1bc46a1daa855d1d41920bf8a4a4df2396
2016-09-19 16:57:35 +03:00
Mikhail Lelyakin f4de8b1645 Fix integration tests
Images table in openstack dashboard renders
by Angular now. There are no integration tests
in Horizon for test this table, but there is
possibility to configure table to old-style.
In this patch I ovveride the configurations
provided by the panels and force a 'legacy' setting.
Based upon change: https://review.openstack.org/#/c/349020/

Change-Id: I3382bed3ff516a14d5b72ed3a7bedc409b0de8eb
2016-08-30 15:31:24 +03:00
Vitaly Gridnev 8fa78b9d9c plugins api support
this change contains implementation:

1. of updating plugin workflow;
2. page with details of plugin labels;
3. only enabled versions are displayed on general
page with plugins.

blueprint: plugin-management-api
Change-Id: Ia125ad8108cafd4e39dc1c2c53f3c62ff3ce3e78
co-authored-by: Michael Lelyakin <mlelyakin@mirantis.com>
2016-08-22 09:19:46 +00:00
Vitaly Gridnev c7a4699c54 fix integration tests
hot fix is taken from https://review.openstack.org/#/c/327883/

Change-Id: I952f0f07cca202cdc5dd84f72efe6ecce6c477eb
2016-06-11 20:05:32 +00:00
Vitaly Gridnev ffccd9dcd9 fix integration tests
The reasons of failures are following:

1. The change [0] is introduced in horizon, which removes unneeded
tags in production envs. This caused most failures.
2. HDP is removed from sahara codebase.
3. Sometimes unicode string 'None' is passed to saharaclient as input_id
or output_id of job. This string was translated to NoneType.

[0] https://review.openstack.org/#/c/287793

Co-Authored-by: Michael Ionkin <mionkin@mirantis.com>
Change-Id: I9cb0641b2b61a78a40b0e2c6faf2609f974088d2
2016-06-06 17:24:29 +00:00
Mark Vanderwiel 27f02dbf33 fix integration test screen shots
Looking at sahara dashboard as model for possibly adding
integration tests to the app-catalog.  Noticed that the
screen shots were not being saved. Adding the +e to the
script allows the screenshot copy to actually work.

The logs from patch set 7 show this working. In that patch
set I forced a screenshot even tho the test was successful.

Change-Id: Iee393a40e8a29943203cb59f6ed669db8f570d4a
2016-02-02 10:19:37 -06:00
Timur Sufiev 823139cc8e Adapt for all horizon i9n refactoring changes
Adapt to the cumulative change in Horizon i9n tests being merged in
https://goo.gl/HLQCe7

Also there was https://review.openstack.org/#/c/269123 that dropped
all pre-Django18 code from Horizon, that was another cause of failed
tests (missing horizon.utils.urlresolvers). Fixed that.

Change-Id: I12b85202e79089fa5b1e7464dd0d529c81cde07b
2016-01-27 10:58:59 +00:00
Timur Sufiev 6eafe0e620 Run actual integration tests in post-install hook
Change-Id: I8baa8783d8bcdf36a45da21b5e68bdea163c7a3a
2015-12-31 15:32:33 +03:00
Vitaly Gridnev 017beb40f9 Add intial test hooks for integration tests
Change-Id: Iad7898f1823130beccc10bab294b959bafb72958
2015-12-15 15:20:41 +00:00