Mark test_nbconvert as a flaky test

This commit is contained in:
Ayaz Salikhov
2023-11-05 10:13:52 +01:00
parent 7866050baf
commit e6f89ded6e
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ docker
plumbum plumbum
pre-commit pre-commit
pytest pytest
pytest-retry
# `pytest-xdist` is a plugin that provides the `--numprocesses` flag, # `pytest-xdist` is a plugin that provides the `--numprocesses` flag,
# allowing us to run `pytest` tests in parallel # allowing us to run `pytest` tests in parallel
pytest-xdist pytest-xdist

View File

@@ -11,6 +11,7 @@ LOGGER = logging.getLogger(__name__)
THIS_DIR = Path(__file__).parent.resolve() THIS_DIR = Path(__file__).parent.resolve()
@pytest.mark.flaky(retries=3, delay=1)
@pytest.mark.parametrize( @pytest.mark.parametrize(
"test_file", "test_file",
["issue_1168", "local_pyspark", "local_sparklyr", "local_sparkR"], ["issue_1168", "local_pyspark", "local_sparklyr", "local_sparkR"],