explicitly name smoke tests
This commit is contained in:
parent
63bd846948
commit
021ed9b8b0
|
|
@ -6,7 +6,7 @@ set -o nounset
|
|||
set -o pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
readonly cluster_name="kind-test-postgres-operator"
|
||||
readonly cluster_name="kind-smoke-test-postgres-operator"
|
||||
|
||||
# avoid interference with previous test runs
|
||||
if [[ $(kind get clusters | grep "^${cluster_name}*") != "" ]]
|
||||
|
|
@ -14,7 +14,7 @@ then
|
|||
kind delete cluster --name ${cluster_name}
|
||||
fi
|
||||
|
||||
kind create cluster --name ${cluster_name} --config ./e2e/kind-config-multikind.yaml
|
||||
kind create cluster --name ${cluster_name} --config ./e2e/kind-config-smoke-tests.yaml
|
||||
export KUBECONFIG="$(kind get kubeconfig-path --name=${cluster_name})"
|
||||
kubectl cluster-info
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ from pprint import pprint
|
|||
import subprocess
|
||||
|
||||
class SmokeTestCase(unittest.TestCase):
|
||||
'''
|
||||
Test the most basic e2e functionality of the operator.
|
||||
'''
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
Loading…
Reference in New Issue