@@ -84,7 +84,7 @@ def _modify_app_profile_helper(
8484 )
8585
8686 operation = app_profile .update (ignore_warnings = ignore_warnings )
87- operation .result (timeout = 60 )
87+ operation .result (timeout = 120 )
8888
8989 alt_profile = instance .app_profile (app_profile_id )
9090 alt_profile .reload ()
@@ -163,7 +163,7 @@ def test_instance_create_prod(
163163
164164 operation = instance .create (clusters = [cluster ])
165165 instances_to_delete .append (instance )
166- operation .result (timeout = 60 ) # Ensure the operation completes.
166+ operation .result (timeout = 240 ) # Ensure the operation completes.
167167 assert instance .type_ is None
168168
169169 # Create a new instance instance and make sure it is the same.
@@ -194,7 +194,7 @@ def test_instance_create_development(
194194
195195 operation = instance .create (clusters = [cluster ])
196196 instances_to_delete .append (instance )
197- operation .result (timeout = 60 ) # Ensure the operation completes.
197+ operation .result (timeout = 240 ) # Ensure the operation completes.
198198
199199 # Create a new instance instance and make sure it is the same.
200200 instance_alt = admin_client .instance (alt_instance_id )
@@ -244,7 +244,7 @@ def test_instance_create_w_two_clusters(
244244 )
245245 operation = instance .create (clusters = [cluster_1 , cluster_2 ])
246246 instances_to_delete .append (instance )
247- operation .result (timeout = 120 ) # Ensure the operation completes.
247+ operation .result (timeout = 240 ) # Ensure the operation completes.
248248
249249 # Create a new instance instance and make sure it is the same.
250250 instance_alt = admin_client .instance (alt_instance_id )
@@ -534,7 +534,7 @@ def test_instance_create_w_two_clusters_cmek(
534534 )
535535 operation = instance .create (clusters = [cluster_1 , cluster_2 ])
536536 instances_to_delete .append (instance )
537- operation .result (timeout = 120 ) # Ensure the operation completes.
537+ operation .result (timeout = 240 ) # Ensure the operation completes.
538538
539539 # Create a new instance instance and make sure it is the same.
540540 instance_alt = admin_client .instance (alt_instance_id )
@@ -597,7 +597,7 @@ def test_instance_update_display_name_and_labels(
597597 admin_instance_populated .labels = new_labels
598598
599599 operation = admin_instance_populated .update ()
600- operation .result (timeout = 60 ) # ensure the operation completes.
600+ operation .result (timeout = 240 ) # Ensure the operation completes.
601601
602602 # Create a new instance instance and reload it.
603603 instance_alt = admin_client .instance (admin_instance_id , labels = {})
@@ -614,7 +614,7 @@ def test_instance_update_display_name_and_labels(
614614 admin_instance_populated .display_name = old_display_name
615615 admin_instance_populated .labels = instance_labels
616616 operation = admin_instance_populated .update ()
617- operation .result (timeout = 60 ) # ensure the operation completes.
617+ operation .result (timeout = 240 ) # Ensure the operation completes.
618618
619619
620620def test_instance_update_w_type (
@@ -640,12 +640,12 @@ def test_instance_update_w_type(
640640
641641 operation = instance .create (clusters = [cluster ])
642642 instances_to_delete .append (instance )
643- operation .result (timeout = 60 ) # Ensure the operation completes.
643+ operation .result (timeout = 240 ) # Ensure the operation completes.
644644
645645 instance .display_name = None
646646 instance .type_ = enums .Instance .Type .PRODUCTION
647647 operation = instance .update ()
648- operation .result (timeout = 60 ) # ensure the operation completes.
648+ operation .result (timeout = 240 ) # Ensure the operation completes.
649649
650650 # Create a new instance instance and reload it.
651651 instance_alt = admin_client .instance (alt_instance_id )
@@ -679,7 +679,7 @@ def test_cluster_create(
679679 default_storage_type = (enums .StorageType .SSD ),
680680 )
681681 operation = cluster_2 .create ()
682- operation .result (timeout = 60 ) # Ensure the operation completes.
682+ operation .result (timeout = 240 ) # Ensure the operation completes.
683683
684684 # Create a new object instance, reload and make sure it is the same.
685685 alt_cluster = admin_instance_populated .cluster (alt_cluster_id )
@@ -717,7 +717,7 @@ def test_cluster_create_w_autoscaling(
717717 default_storage_type = (enums .StorageType .SSD ),
718718 )
719719 operation = cluster_2 .create ()
720- operation .result (timeout = 60 ) # Ensure the operation completes.
720+ operation .result (timeout = 240 ) # Ensure the operation completes.
721721
722722 # Create a new object instance, reload and make sure it is the same.
723723 alt_cluster = admin_instance_populated .cluster (alt_cluster_id )
@@ -749,7 +749,7 @@ def test_cluster_update(
749749 admin_cluster .serve_nodes = new_serve_nodes
750750
751751 operation = admin_cluster .update ()
752- operation .result (timeout = 60 ) # Ensure the operation completes.
752+ operation .result (timeout = 240 ) # Ensure the operation completes.
753753
754754 # Create a new cluster instance and reload it.
755755 alt_cluster = admin_instance_populated .cluster (admin_cluster_id )
@@ -759,7 +759,7 @@ def test_cluster_update(
759759 # Put the cluster back the way it was for the other test cases.
760760 admin_cluster .serve_nodes = serve_nodes
761761 operation = admin_cluster .update ()
762- operation .result (timeout = 60 ) # Ensure the operation completes.
762+ operation .result (timeout = 240 ) # Ensure the operation completes.
763763
764764
765765def test_cluster_update_w_autoscaling (
@@ -779,7 +779,7 @@ def test_cluster_update_w_autoscaling(
779779 admin_cluster_with_autoscaling .cpu_utilization_percent = new_cpu_utilization_percent
780780
781781 operation = admin_cluster_with_autoscaling .update ()
782- operation .result (timeout = 60 ) # Ensure the operation completes.
782+ operation .result (timeout = 240 ) # Ensure the operation completes.
783783
784784 # Create a new cluster instance and reload it.
785785 alt_cluster = admin_instance_populated .cluster (admin_cluster_id )
@@ -793,7 +793,7 @@ def test_cluster_update_w_autoscaling(
793793 admin_cluster_with_autoscaling .max_serve_nodes = max_serve_nodes
794794 admin_cluster_with_autoscaling .cpu_utilization_percent = cpu_utilization_percent
795795 operation = admin_cluster_with_autoscaling .update ()
796- operation .result (timeout = 60 ) # Ensure the operation completes.
796+ operation .result (timeout = 240 ) # Ensure the operation completes.
797797
798798
799799def test_cluster_update_w_autoscaling_partial (
@@ -810,7 +810,7 @@ def test_cluster_update_w_autoscaling_partial(
810810 admin_cluster_with_autoscaling .min_serve_nodes = new_min_serve_nodes
811811
812812 operation = admin_cluster_with_autoscaling .update ()
813- operation .result (timeout = 60 ) # Ensure the operation completes.
813+ operation .result (timeout = 240 ) # Ensure the operation completes.
814814
815815 # Create a new cluster instance and reload it.
816816 alt_cluster = admin_instance_populated .cluster (admin_cluster_id )
@@ -827,7 +827,7 @@ def test_cluster_update_w_autoscaling_partial(
827827 admin_cluster_with_autoscaling .max_serve_nodes = max_serve_nodes
828828 admin_cluster_with_autoscaling .cpu_utilization_percent = cpu_utilization_percent
829829 operation = admin_cluster_with_autoscaling .update ()
830- operation .result (timeout = 60 ) # Ensure the operation completes.
830+ operation .result (timeout = 240 ) # Ensure the operation completes.
831831
832832
833833def test_cluster_disable_autoscaling (
@@ -843,7 +843,7 @@ def test_cluster_disable_autoscaling(
843843 operation = admin_cluster_with_autoscaling .disable_autoscaling (
844844 serve_nodes = serve_nodes
845845 )
846- operation .result (timeout = 60 ) # Ensure the operation completes.
846+ operation .result (timeout = 240 ) # Ensure the operation completes.
847847
848848 # Create a new cluster instance and reload it.
849849 alt_cluster = admin_instance_populated .cluster (admin_cluster_id )
@@ -859,4 +859,4 @@ def test_cluster_disable_autoscaling(
859859 admin_cluster_with_autoscaling .cpu_utilization_percent = cpu_utilization_percent
860860 admin_cluster_with_autoscaling .serve_nodes = 0
861861 operation = admin_cluster_with_autoscaling .update ()
862- operation .result (timeout = 60 ) # Ensure the operation completes.
862+ operation .result (timeout = 240 ) # Ensure the operation completes.
0 commit comments