Skip to content

Commit 67f9012

Browse files
authored
change: skip lda tests in regions that does not support it. (#1056)
1 parent 7386979 commit 67f9012

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integ/test_airflow_config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import pickle
1818
import sys
1919
import pytest
20+
import tests.integ
2021

2122
import numpy as np
2223

@@ -227,6 +228,10 @@ def test_knn_airflow_config_uploads_data_source_to_s3(sagemaker_session, cpu_ins
227228
)
228229

229230

231+
@pytest.mark.skipif(
232+
tests.integ.test_region() in tests.integ.NO_LDA_REGIONS,
233+
reason="LDA image is not supported in certain regions",
234+
)
230235
@pytest.mark.canary_quick
231236
def test_lda_airflow_config_uploads_data_source_to_s3(sagemaker_session, cpu_instance_type):
232237
with timeout(seconds=AIRFLOW_CONFIG_TIMEOUT_IN_SECONDS):

0 commit comments

Comments
 (0)