[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:
Eric Liang
2018-05-15 12:47:11 -07:00
committed by GitHub
parent 825c227c2b
commit 3f1dd29eab
3 changed files with 19 additions and 16 deletions
-8
View File
@@ -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()