summaryrefslogtreecommitdiffstats
path: root/test/test-it.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-it.sh')
-rwxr-xr-xtest/test-it.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/test-it.sh b/test/test-it.sh
index 76c3cf2..b2c8f72 100755
--- a/test/test-it.sh
+++ b/test/test-it.sh
@@ -171,6 +171,25 @@ sign_the_certmaster_certs()
}
+
+pound_on_the_threads()
+{
+ msg "Trying to poke at the threads a bit"
+ THREAD_COUNT=5
+ for i in $MINION_CERTS
+ do
+ for Q in `seq 1 $THREAD_COUNT`
+ do
+ # background these so they run more or less in parallel to
+ # each minion
+ echo "test add $Q 6" for $i
+ func $i call test add "$Q" "6" &
+ done
+ done
+
+
+}
+
# just some random "poke at func and make sure it works stuff"
test_funcd()
{
@@ -186,6 +205,7 @@ test_funcd()
func $i call test add "23" "45"
done
+
}
@@ -231,6 +251,8 @@ sign_the_certmaster_certs
test_funcd
+pound_on_the_threads
+
stop_the_func
# see if funcd is running
# see if certmaster is installed