Skip to content

Commit

Permalink
TST: Skip too slow test on crippled FS
Browse files Browse the repository at this point in the history
Even a local git-annex-testremote is just too slow on the
crippled FS used by this Github workflow. Will time out
if the test is executed.
  • Loading branch information
bpoldrack committed May 13, 2020
1 parent 613a1a1 commit eda083f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion datalad/distributed/tests/test_ria_basics.py
Expand Up @@ -24,6 +24,7 @@
has_symlink_capability,
known_failure_windows,
skip_ssh,
SkipTest,
slow,
swallow_logs,
turtle,
Expand Down Expand Up @@ -392,6 +393,13 @@ def _test_gitannex(host, store, dspath):
store = Path(store)

ds = Dataset(dspath).create()

if ds.repo.is_managed_branch():
# git-annex-testremote is way too slow on crippled FS.
# Use is_managed_branch() as a proxy and skip only here
# instead of in a decorator
raise SkipTest("Test too slow on crippled FS")

populate_dataset(ds)
ds.save()
assert_repo_status(ds.path)
Expand Down Expand Up @@ -429,7 +437,6 @@ def test_gitannex_ssh():
_test_gitannex('datalad-test')


@slow
def test_gitannex_local():
_test_gitannex(None)

Expand Down

0 comments on commit eda083f

Please sign in to comment.