Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 965e0e5

Browse files
committed
added additional test skips
1 parent 2dd813f commit 965e0e5

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

tests/system/data/test_metrics_async.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,10 @@ async def test_mutate_row(self, table, temp_rows, handler, cluster_config):
269269
)
270270
assert attempt.application_blocking_time_ns == 0
271271

272+
@pytest.mark.skipif(
273+
bool(os.environ.get(BIGTABLE_EMULATOR)),
274+
reason="emulator doesn't suport cluster_config",
275+
)
272276
@CrossSync.pytest
273277
async def test_mutate_row_failure_with_retries(
274278
self, table, handler, error_injector
@@ -595,6 +599,10 @@ async def test_sample_row_keys_failure_timeout(self, table, handler):
595599
assert attempt.end_status.name == "DEADLINE_EXCEEDED"
596600
assert attempt.gfe_latency_ns is None
597601

602+
@pytest.mark.skipif(
603+
bool(os.environ.get(BIGTABLE_EMULATOR)),
604+
reason="emulator doesn't suport cluster_config",
605+
)
598606
@CrossSync.pytest
599607
async def test_sample_row_keys_failure_mid_stream(
600608
self, table, temp_rows, handler, error_injector

tests/system/data/test_metrics_autogen.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ def test_mutate_row(self, table, temp_rows, handler, cluster_config):
223223
)
224224
assert attempt.application_blocking_time_ns == 0
225225

226+
@pytest.mark.skipif(
227+
bool(os.environ.get(BIGTABLE_EMULATOR)),
228+
reason="emulator doesn't suport cluster_config",
229+
)
226230
def test_mutate_row_failure_with_retries(self, table, handler, error_injector):
227231
"""Test failure in grpc layer by injecting errors into an interceptor
228232
with retryable errors, then a terminal one"""
@@ -460,6 +464,10 @@ def test_sample_row_keys_failure_timeout(self, table, handler):
460464
assert attempt.end_status.name == "DEADLINE_EXCEEDED"
461465
assert attempt.gfe_latency_ns is None
462466

467+
@pytest.mark.skipif(
468+
bool(os.environ.get(BIGTABLE_EMULATOR)),
469+
reason="emulator doesn't suport cluster_config",
470+
)
463471
def test_sample_row_keys_failure_mid_stream(
464472
self, table, temp_rows, handler, error_injector
465473
):

0 commit comments

Comments
 (0)