damccorm commented on code in PR #41204:
URL: https://github.com/apache/beam/pull/41204#discussion_r4560807439


##########
sdks/python/apache_beam/io/external/xlang_kinesisio_it_test.py:
##########
@@ -273,19 +273,19 @@ def __init__(self, access_key, secret_key, region, 
service_endpoint):
 
   def create_stream(self, stream_name):
     # localstack could not have initialized in the container yet so repeat
-    retries = 10
+    retries = 15
     for i in range(retries):
       try:
         self.kinesis_client.create_stream(
             StreamName=stream_name,
             ShardCount=1,
         )
-        time.sleep(2)

Review Comment:
   Done in 8cc143c170e — restored `retries = 10` and the post-`create_stream` 
`time.sleep(1)`, and added a comment explaining the `time.sleep(2)` in the 
`except` block.



##########
sdks/python/apache_beam/yaml/integration_tests.py:
##########
@@ -1006,16 +1006,16 @@ def temp_iceberg_table_with_pk(table_data):
 
 def _create_kinesis_stream(kinesis_client, stream_name):

Review Comment:
   Done in 8cc143c170e — restored `retries = 10` and the post-`create_stream` 
`time.sleep(1)`, and added the explanatory comment here as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to