mirror of
https://github.com/wassname/ray.git
synced 2026-10-28 13:21:06 +08:00
[autoscaler] Fix flaky autoscaler test (#12918)
This commit is contained in:
1 parent
aedcf0c9d9
commit
c677b9e201
1 file changed
+1
-1
@@ -1076,7 +1076,7 @@ class AutoscalingTest(unittest.TestCase):
|
||||
2, tag_filters={TAG_RAY_NODE_STATUS: STATUS_UPDATE_FAILED})
|
||||
except AssertionError:
|
||||
# The failed nodes might have been already terminated by autoscaler
|
||||
assert len(self.provider.non_terminated_nodes({})) == 0
|
||||
assert len(self.provider.non_terminated_nodes({})) < 2
|
||||
|
||||
def testConfiguresOutdatedNodes(self):
|
||||
config_path = self.write_config(SMALL_CLUSTER)
|
||||
|
||||
Reference in new issue
Block a user