From deef9f57fec5948df575f3b93013f7760fce3d1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 18:03:47 +0200 Subject: Adding debian version 7.3.0+dfsg-1. Signed-off-by: Daniel Baumann --- debian/tests/unit-tests-flaky | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 debian/tests/unit-tests-flaky (limited to 'debian/tests/unit-tests-flaky') diff --git a/debian/tests/unit-tests-flaky b/debian/tests/unit-tests-flaky new file mode 100755 index 00000000..b4cc64c7 --- /dev/null +++ b/debian/tests/unit-tests-flaky @@ -0,0 +1,42 @@ +#!/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 \ + --local + + cd $BASEPATH +done + +exit 0 -- cgit v1.2.3