mirror of
https://github.com/wassname/ray.git
synced 2026-08-14 12:40:23 +08:00
[autoscaler] Remove faulty assert that breaks during downscaling, pull configs from env (#2006)
* fixes * coment out test * Update ray_constants.py * Update autoscaler_test.py * Update ray_constants.py * lint * lint
This commit is contained in:
@@ -365,14 +365,6 @@ class AutoscalingTest(unittest.TestCase):
|
||||
autoscaler.update()
|
||||
self.assertRaises(Exception, autoscaler.update)
|
||||
|
||||
def testAbortOnCreationFailures(self):
|
||||
config_path = self.write_config(SMALL_CLUSTER)
|
||||
self.provider = MockProvider()
|
||||
self.provider.fail_creates = True
|
||||
autoscaler = StandardAutoscaler(
|
||||
config_path, LoadMetrics(), max_failures=0, update_interval_s=0)
|
||||
self.assertRaises(AssertionError, autoscaler.update)
|
||||
|
||||
def testLaunchNewNodeOnOutOfBandTerminate(self):
|
||||
config_path = self.write_config(SMALL_CLUSTER)
|
||||
self.provider = MockProvider()
|
||||
|
||||
Reference in New Issue
Block a user