sahara-dashboard/tools/gate/integration/pre_test_hook.sh
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

9 lines
268 B
Bash
Executable File

#!/bin/bash
# This script will be executed inside pre_test_hook function in devstack gate
set -ex
source commons $@
cd /opt/stack/new/horizon/openstack_dashboard/local/local_settings.d
mv _20_integration_tests_scaffolds.py.example _20_integration_tests_scaffolds.py