Browse Source

Remove tempest plugin from non-tempest gate

These were added as a transition, before the real tempest
jobs were created and voting.

Change-Id: Ibe90ff4ddafa63230b50ecd0c531654cb8886e72
Kiall Mac Innes 2 years ago
parent
commit
77d083b540
2 changed files with 0 additions and 37 deletions
  1. 0
    4
      devstack/gate/post_test_hook.sh
  2. 0
    33
      devstack/gate/run_tempest_plugin.sh

+ 0
- 4
devstack/gate/post_test_hook.sh View File

@@ -8,10 +8,6 @@ $BASE/new/designate/devstack/exercise.sh
8 8
 # Import functions needed for the below workaround
9 9
 source $BASE/new/devstack/functions
10 10
 
11
-# Run the new style tempest plugin first, so the workaround below is not
12
-# applied.
13
-sudo BASE=$BASE ./run_tempest_plugin.sh
14
-
15 11
 # Workaround for Tempest architectural changes
16 12
 # See bugs:
17 13
 # 1) https://bugs.launchpad.net/manila/+bug/1531049

+ 0
- 33
devstack/gate/run_tempest_plugin.sh View File

@@ -1,33 +0,0 @@
1
-#!/bin/bash -e
2
-#
3
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
4
-# not use this file except in compliance with the License. You may obtain
5
-# a copy of the License at
6
-#
7
-#      http://www.apache.org/licenses/LICENSE-2.0
8
-#
9
-# Unless required by applicable law or agreed to in writing, software
10
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
-# License for the specific language governing permissions and limitations
13
-# under the License.
14
-
15
-# TODO(kiall): One old style tests are no longer used, we should switch from
16
-# this pattern for executing the tests to a true tempest gate job.
17
-
18
-# How many seconds to wait for the API to be responding before giving up
19
-API_RESPONDING_TIMEOUT=20
20
-
21
-if ! timeout ${API_RESPONDING_TIMEOUT} sh -c "while ! curl -s http://127.0.0.1:9001/ 2>/dev/null | grep -q 'v1' ; do sleep 1; done"; then
22
-    echo "The Designate API failed to respond within ${API_RESPONDING_TIMEOUT} seconds"
23
-    exit 1
24
-fi
25
-
26
-echo "Successfully contacted the Designate API"
27
-
28
-# Where Tempest code lives
29
-TEMPEST_DIR=${TEMPEST_DIR:-"$BASE/new/tempest"}
30
-
31
-pushd $TEMPEST_DIR
32
-tox -e all-plugin -- designate
33
-popd

Loading…
Cancel
Save