File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1313import pytest
1414
1515from snowflake .connector import SnowflakeConnection
16+ from snowflake .connector .compat import IS_LINUX
1617from snowflake .connector .telemetry import TelemetryClient , TelemetryData
1718
1819from . import (
@@ -138,7 +139,9 @@ def pytest_runtest_setup(item) -> None:
138139 current_provider
139140 )
140141 )
141- if EXTERNAL_SKIP_TAGS .intersection (test_tags ) and running_on_public_ci ():
142- pytest .skip ("cannot run this test on external CI" )
142+ if EXTERNAL_SKIP_TAGS .intersection (test_tags ) and (
143+ not IS_LINUX or running_on_public_ci ()
144+ ):
145+ pytest .skip ("cannot run this test on public Snowflake deployment" )
143146 elif INTERNAL_SKIP_TAGS .intersection (test_tags ) and not running_on_public_ci ():
144- pytest .skip ("cannot run this test on internal CI " )
147+ pytest .skip ("cannot run this test on private Snowflake deployment " )
You can’t perform that action at this time.
0 commit comments