Skip to content

Commit e25c1c8

Browse files
committed
removing s3 creation test to speed up github actions
1 parent 004b506 commit e25c1c8

1 file changed

Lines changed: 20 additions & 17 deletions

File tree

tests/test_shatter.py

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -200,20 +200,23 @@ def test_partial_overlap(
200200
actual = 22500 if alignment == 'AlignToCorner' else 32400
201201
assert pc == actual
202202

203-
@pytest.mark.skipif(
204-
os.environ.get('AWS_SECRET_ACCESS_KEY') is None
205-
or os.environ.get('AWS_ACCESS_KEY_ID') is None,
206-
reason='Missing necessary AWS environment variables',
207-
)
208-
def test_remote_creation(
209-
self,
210-
s3_shatter_config: ShatterConfig,
211-
s3_storage: Storage,
212-
):
213-
# need processes scheduler to accurately test bug fix
214-
dask.config.set(scheduler='processes')
215-
maxy = s3_storage.config.root.maxy
216-
base = 11
217-
point_count = 108900
218-
shatter(s3_shatter_config)
219-
confirm_one_entry(s3_storage, maxy, base, point_count)
203+
# Removing to speed up github actions tests. Currently causing some actions
204+
# to time out.
205+
206+
# @pytest.mark.skipif(
207+
# os.environ.get('AWS_SECRET_ACCESS_KEY') is None
208+
# or os.environ.get('AWS_ACCESS_KEY_ID') is None,
209+
# reason='Missing necessary AWS environment variables',
210+
# )
211+
# def test_remote_creation(
212+
# self,
213+
# s3_shatter_config: ShatterConfig,
214+
# s3_storage: Storage,
215+
# ):
216+
# # need processes scheduler to accurately test bug fix
217+
# dask.config.set(scheduler='processes')
218+
# maxy = s3_storage.config.root.maxy
219+
# base = 11
220+
# point_count = 108900
221+
# shatter(s3_shatter_config)
222+
# confirm_one_entry(s3_storage, maxy, base, point_count)

0 commit comments

Comments
 (0)