summaryrefslogtreecommitdiffstats
path: root/debian/tests/unit-tests-flaky
blob: b4cc64c70a66da0ccd7eb7eeff2f427807e43529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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