aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager/tests
diff options
context:
space:
mode:
authorRHE <rebirthmonkey@gmail.com>2017-12-28 16:44:41 +0100
committerRHE <rebirthmonkey@gmail.com>2017-12-28 16:44:41 +0100
commit8ee94f0c40d8937e89ededa5d754288f2255b8dd (patch)
treec52c598d4fab33efa153d5914b272df79d5e9dd2 /moon_manager/tests
parentb7cf76d39eab9d292b8d58db4b0934557cad4509 (diff)
init functional pod tests
Change-Id: Ibfe54e2b1a7b27a1104c6fd48528c92cb3f95867 Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'moon_manager/tests')
-rw-r--r--moon_manager/tests/functional_pod/run_functional_tests.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/moon_manager/tests/functional_pod/run_functional_tests.sh b/moon_manager/tests/functional_pod/run_functional_tests.sh
new file mode 100644
index 00000000..c80bf15d
--- /dev/null
+++ b/moon_manager/tests/functional_pod/run_functional_tests.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+set -x
+
+kubectl create -n moon -f tools/moon_kubernetes/templates/moon_forming.yaml
+
+echo Waiting for jobs forming
+sleep 5
+kubectl get jobs -n moon
+kubectl logs -n moon jobs/forming
+