mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22:57 +00:00
Try to unmark tests as flaky (#2268)
This commit is contained in:
@@ -2,7 +2,6 @@ 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
|
||||||
|
@@ -12,7 +12,6 @@ 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,expected_warnings",
|
"test_file,expected_warnings",
|
||||||
[
|
[
|
||||||
|
@@ -216,7 +216,7 @@ def test_container_not_delete_bind_mount(
|
|||||||
host_file.write_text("some-content")
|
host_file.write_text("some-content")
|
||||||
|
|
||||||
container.run_and_wait(
|
container.run_and_wait(
|
||||||
timeout=5,
|
timeout=10,
|
||||||
user="root",
|
user="root",
|
||||||
working_dir="/home/",
|
working_dir="/home/",
|
||||||
environment=[
|
environment=[
|
||||||
|
@@ -12,7 +12,6 @@ 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"],
|
["issue_1168", "local_pyspark"],
|
||||||
|
Reference in New Issue
Block a user