summaryrefslogtreecommitdiffstats
path: root/debian/tests/unit-tests-flaky
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:03:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:03:05 +0000
commitcb54f328515d55394b71e492ffbfefe5e6b0d891 (patch)
tree51ffbd301c8897ba0ff6c3d7be0e9d9cc98aee09 /debian/tests/unit-tests-flaky
parentAdding upstream version 2.10.7+merged+base+2.10.8+dfsg. (diff)
downloadansible-debian.tar.xz
ansible-debian.zip
Adding debian version 2.10.7+merged+base+2.10.8+dfsg-1.debian/2.10.7+merged+base+2.10.8+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/unit-tests-flaky')
-rwxr-xr-xdebian/tests/unit-tests-flaky43
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/tests/unit-tests-flaky b/debian/tests/unit-tests-flaky
new file mode 100755
index 00000000..3da64b22
--- /dev/null
+++ b/debian/tests/unit-tests-flaky
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+# Don't let them fail
+# set -e
+
+BASEPATH=$(pwd)
+
+unit_test_dirs="
+ansible_collections/ngine_io/cloudstack # missing python3-units
+ansible_collections/ansible/netcommon # test broken
+ansible_collections/netapp/ontap # missing netapp_lib
+ansible_collections/netapp_eseries/santricity # missing python3-units
+ansible_collections/community/aws # import broken
+ansible_collections/community/vmware # missing python3-units
+ansible_collections/community/hrobot # import broken
+ansible_collections/community/general # import broken
+ansible_collections/community/skydive # STDERR: WARNING: All targets skipped.
+ansible_collections/junipernetworks/junos # test broken
+ansible_collections/dellemc/os6 # import broken
+ansible_collections/dellemc/os10 # missing python3-units
+ansible_collections/dellemc/os9 # import broken
+"
+
+for i in $unit_test_dirs; do
+
+ cd $i 2> /dev/null || continue
+
+ echo "\n\n"
+ echo "############################################################"
+ echo "############################################################"
+ echo "#### Running FLAKY tests in $i"
+ echo "############################################################"
+ echo "############################################################"
+
+ /usr/bin/ansible-test units \
+ --python-interpreter /usr/bin/python3 \
+ --python 3.9 \
+ --local
+
+ cd $BASEPATH
+done
+
+exit 0