import pytest # this test must be run in serial mode because it will open the maximal number # of cq that efa device can support @pytest.mark.serial @pytest.mark.unit def test_cq(cmdline_args): from common import UnitTest test = UnitTest(cmdline_args, "fi_cq_test") test.run() @pytest.mark.functional @pytest.mark.parametrize("operation_type", ["senddata", "writedata"]) def test_cq_data(cmdline_args, operation_type): from common import ClientServerTest test = ClientServerTest(cmdline_args, "fi_cq_data -e rdm -o " + operation_type) test.run()