@@ -643,6 +643,7 @@ def _table_read_row_helper(chunks, expected_result, app_profile_id=None):
643643    from  google .cloud .bigtable  import  table  as  MUT 
644644    from  google .cloud .bigtable .row_set  import  RowSet 
645645    from  google .cloud .bigtable .row_filters  import  RowSampleFilter 
646+     from  google .cloud .bigtable .row_data  import  DEFAULT_RETRY_READ_ROWS 
646647
647648    credentials  =  _make_credentials ()
648649    client  =  _make_client (project = "project-id" , credentials = credentials , admin = True )
@@ -691,7 +692,9 @@ def mock_create_row_request(table_name, **kwargs):
691692    assert  result  ==  expected_result 
692693    assert  mock_created  ==  expected_request 
693694
694-     data_api .read_rows .assert_called_once_with (request_pb , timeout = 61.0 )
695+     data_api .read_rows .assert_called_once_with (
696+         request_pb , timeout = 61.0 , retry = DEFAULT_RETRY_READ_ROWS 
697+     )
695698
696699
697700def  test_table_read_row_miss_no__responses ():
@@ -906,7 +909,7 @@ def mock_create_row_request(table_name, **kwargs):
906909    }
907910    assert  mock_created  ==  [(table .name , created_kwargs )]
908911
909-     data_api .read_rows .assert_called_once_with (request_pb , timeout = 61.0 )
912+     data_api .read_rows .assert_called_once_with (request_pb , timeout = 61.0 ,  retry = retry )
910913
911914
912915def  test_table_read_retry_rows ():
@@ -1082,6 +1085,7 @@ def test_table_yield_rows_with_row_set():
10821085    from  google .cloud .bigtable .row_set  import  RowSet 
10831086    from  google .cloud .bigtable .row_set  import  RowRange 
10841087    from  google .cloud .bigtable .table  import  _create_row_request 
1088+     from  google .cloud .bigtable .row_data  import  DEFAULT_RETRY_READ_ROWS 
10851089
10861090    credentials  =  _make_credentials ()
10871091    client  =  _make_client (project = "project-id" , credentials = credentials , admin = True )
@@ -1149,7 +1153,9 @@ def test_table_yield_rows_with_row_set():
11491153        end_key = ROW_KEY_2 ,
11501154    )
11511155    expected_request .rows .row_keys .append (ROW_KEY_3 )
1152-     data_api .read_rows .assert_called_once_with (expected_request , timeout = 61.0 )
1156+     data_api .read_rows .assert_called_once_with (
1157+         expected_request , timeout = 61.0 , retry = DEFAULT_RETRY_READ_ROWS 
1158+     )
11531159
11541160
11551161def  test_table_sample_row_keys ():
0 commit comments