Skip to content

Commit 5e60a7f

Browse files
committed
ENG-8251 | Fix failing move/copy task tests
1 parent 85e5aeb commit 5e60a7f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/tasks/test_copy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def make_provider(name=None, **kwargs):
4444
return src_provider, dest_provider
4545

4646

47-
@pytest.mark.skip('TODO: test fails sometimes')
47+
# @pytest.mark.skip('TODO: test fails sometimes')
4848
@pytest.mark.celery(result_backend=None)
4949
def test_copy_calls_copy(providers, bundles, callback):
5050
src, dest = providers
@@ -62,7 +62,7 @@ def test_is_task():
6262
assert not asyncio.iscoroutine(copy.copy)
6363
assert asyncio.iscoroutinefunction(copy.copy.adelay)
6464

65-
@pytest.mark.skip('TODO: test fails sometimes')
65+
# @pytest.mark.skip('TODO: test fails sometimes')
6666
@pytest.mark.celery(result_backend=None)
6767
def test_imputes_exceptions(providers, bundles, callback):
6868
src, dest = providers
@@ -82,7 +82,7 @@ def test_imputes_exceptions(providers, bundles, callback):
8282
assert method == 'PUT'
8383
assert data['errors'] == ["Exception('This is a string')"]
8484

85-
@pytest.mark.skip('TODO: test fails sometimes')
85+
# @pytest.mark.skip('TODO: test fails sometimes')
8686
@pytest.mark.celery(result_backend=None)
8787
def test_return_values(providers, bundles, callback, src_path, dest_path, mock_time, FAKE_TIME):
8888
src, dest = providers
@@ -136,7 +136,7 @@ def test_return_values(providers, bundles, callback, src_path, dest_path, mock_t
136136
'sizeInt': metadata.size_as_int,
137137
}
138138

139-
@pytest.mark.skip('TODO: test fails sometimes')
139+
# @pytest.mark.skip('TODO: test fails sometimes')
140140
@pytest.mark.celery(result_backend=None)
141141
def test_starttime_override(providers, bundles, callback, mock_time, FAKE_TIME):
142142
src, dest = providers

tests/tasks/test_move.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def make_provider(name=None, **kwargs):
4444
return src_provider, dest_provider
4545

4646

47-
@pytest.mark.skip('TODO: test fails sometimes')
47+
# @pytest.mark.skip('TODO: test fails sometimes')
4848
@pytest.mark.celery(result_backend=None)
4949
def test_move_calls_move(providers, bundles, callback):
5050
src, dest = providers
@@ -64,7 +64,7 @@ def test_is_task():
6464
assert asyncio.iscoroutinefunction(move.move.adelay)
6565

6666

67-
@pytest.mark.skip('TODO: test fails sometimes')
67+
# @pytest.mark.skip('TODO: test fails sometimes')
6868
@pytest.mark.celery(result_backend=None)
6969
def test_imputes_exceptions(providers, bundles, callback):
7070
src, dest = providers
@@ -85,7 +85,7 @@ def test_imputes_exceptions(providers, bundles, callback):
8585
assert url == 'dest_callback'
8686

8787

88-
@pytest.mark.skip('TODO: test fails sometimes')
88+
# @pytest.mark.skip('TODO: test fails sometimes')
8989
@pytest.mark.celery(result_backend=None)
9090
def test_return_values(providers, bundles, callback, src_path, dest_path, mock_time, FAKE_TIME):
9191
src, dest = providers
@@ -140,7 +140,7 @@ def test_return_values(providers, bundles, callback, src_path, dest_path, mock_t
140140
}
141141

142142

143-
@pytest.mark.skip('TODO: test fails sometimes')
143+
# @pytest.mark.skip('TODO: test fails sometimes')
144144
@pytest.mark.celery(result_backend=None)
145145
def test_starttime_override(providers, bundles, callback, mock_time, FAKE_TIME):
146146
src, dest = providers

0 commit comments

Comments
 (0)