@@ -511,10 +511,6 @@ def test_read_rows_stream_failure_unauthorized_with_retries(
511511 for attempt in handler .completed_attempts :
512512 assert isinstance (attempt , CompletedAttemptMetric )
513513 assert attempt .end_status .name in ["PERMISSION_DENIED" , "DEADLINE_EXCEEDED" ]
514- assert (
515- attempt .gfe_latency_ns >= 0
516- and attempt .gfe_latency_ns < operation .duration_ns
517- )
518514
519515 def test_read_rows_stream_failure_mid_stream (
520516 self , table , temp_rows , handler , error_injector
@@ -1054,10 +1050,6 @@ def test_bulk_mutate_rows_failure_unauthorized_with_retries(
10541050 )
10551051 for attempt in handler .completed_attempts :
10561052 assert attempt .end_status .name in ["OK" , "DEADLINE_EXCEEDED" ]
1057- assert (
1058- attempt .gfe_latency_ns >= 0
1059- and attempt .gfe_latency_ns < operation .duration_ns
1060- )
10611053
10621054 def test_mutate_rows_batcher (self , table , temp_rows , handler , cluster_config ):
10631055 from google .cloud .bigtable .data .mutations import RowMutationEntry
@@ -1377,10 +1369,6 @@ def test_mutate_row_failure_unauthorized_with_retries(
13771369 )
13781370 for attempt in handler .completed_attempts :
13791371 assert attempt .end_status .name in ["PERMISSION_DENIED" , "DEADLINE_EXCEEDED" ]
1380- assert (
1381- attempt .gfe_latency_ns >= 0
1382- and attempt .gfe_latency_ns < operation .duration_ns
1383- )
13841372
13851373 def test_sample_row_keys (self , table , temp_rows , handler , cluster_config ):
13861374 table .sample_row_keys ()
0 commit comments