Skip to content

Commit 0ef5175

Browse files
committed
Properly skip docker tests
1 parent a082156 commit 0ef5175

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

key-value/key-value-aio/tests/stores/elasticsearch/test_elasticsearch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ async def test_migration_from_non_native_mode(self, store: ElasticsearchStore, e
207207
assert result == snapshot({"legacy": "data"})
208208

209209

210+
@pytest.mark.skipif(should_skip_docker_tests(), reason="Docker is not running")
210211
class TestElasticsearchStoreNonNativeMode(BaseTestElasticsearchStore):
211212
"""Test Elasticsearch store in non-native mode (i.e. it stores stringified JSON values)"""
212213

key-value/key-value-sync/tests/code_gen/stores/elasticsearch/test_elasticsearch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def test_migration_from_non_native_mode(self, store: ElasticsearchStore, es_clie
200200
assert result == snapshot({"legacy": "data"})
201201

202202

203+
@pytest.mark.skipif(should_skip_docker_tests(), reason="Docker is not running")
203204
class TestElasticsearchStoreNonNativeMode(BaseTestElasticsearchStore):
204205
"""Test Elasticsearch store in non-native mode (i.e. it stores stringified JSON values)"""
205206

0 commit comments

Comments
 (0)