We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c25809f commit 9a1837fCopy full SHA for 9a1837f
python/ray/autoscaler/v2/tests/test_sdk.py
@@ -753,7 +753,9 @@ def verify_nodes_busy():
753
stub = _autoscaler_state_service_stub()
754
state = autoscaler_pb2.AutoscalingState(
755
last_seen_cluster_resource_state_version=0,
756
- autoscaler_state_version=1,
+ # since the autoscaler will also update the autoscaler_state_version periodically,
757
+ # we need to use a large number here, such as 10, to override it to avoid flaky test.
758
+ autoscaler_state_version=10,
759
pending_instance_requests=[
760
autoscaler_pb2.PendingInstanceRequest(
761
instance_type_name="m5.large",
0 commit comments