#!/usr/bin/python3

# This is a list of unit tests that currently fail for various reasons.
# This list is skipped in unit-tests-stable.py
# This list is run in unit-tests-flaky.py

flaky_test_dirs = [
    'collections-debian-merged/ansible_collections/ansible/netcommon',            # test broken
    'collections-debian-merged/ansible_collections/community/aws',                # import broken
    'collections-debian-merged/ansible_collections/community/general',            # import broken
    'collections-debian-merged/ansible_collections/community/hrobot',             # import broken
    'collections-debian-merged/ansible_collections/community/skydive',            # STDERR: WARNING: All targets skipped.
    'collections-debian-merged/ansible_collections/community/vmware',             # missing python3-units
    'collections-debian-merged/ansible_collections/dellemc/os10',                 # missing python3-units
    'collections-debian-merged/ansible_collections/dellemc/os6',                  # import broken
    'collections-debian-merged/ansible_collections/dellemc/os9',                  # import broken
    'collections-debian-merged/ansible_collections/junipernetworks/junos',        # test broken
    'collections-debian-merged/ansible_collections/netapp/ontap',                 # missing netapp_lib
    'collections-debian-merged/ansible_collections/netapp_eseries/santricity',    # missing python3-units
    'collections-debian-merged/ansible_collections/ngine_io/cloudstack',          # missing python3-units
]

# [0] test/units/compat/mock.py from ansible-core source is not installed
#     in the binary package. Need to check why.
# [1] E   ModuleNotFoundError: No module named 'ansible_collections.community.internal_test_tools'
# [2] E   ansible_collections.sensu.sensu_go.tests.unit.plugins.modules.common.utils.AnsibleFailJson: {'msg': "argument 'pool_size' is of type <class 'NoneType'> and we were unable to convert to int: <class 'NoneType'> cannot be converted to an int", 'failed': True}
