diff options
Diffstat (limited to 'bigtop-packages/src/charm/spark/layer-spark/tests/03-scale-standalone.py')
-rwxr-xr-x | bigtop-packages/src/charm/spark/layer-spark/tests/03-scale-standalone.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bigtop-packages/src/charm/spark/layer-spark/tests/03-scale-standalone.py b/bigtop-packages/src/charm/spark/layer-spark/tests/03-scale-standalone.py index 33479f3d..6b118c2e 100755 --- a/bigtop-packages/src/charm/spark/layer-spark/tests/03-scale-standalone.py +++ b/bigtop-packages/src/charm/spark/layer-spark/tests/03-scale-standalone.py @@ -27,7 +27,8 @@ class TestScaleStandalone(unittest.TestCase): @classmethod def setUpClass(cls): cls.d = amulet.Deployment(series='xenial') - cls.d.add('spark-test-scale', 'cs:xenial/spark', units=3) + cls.d.add('spark-test-scale', charm='spark', + units=3, constraints={'mem': '7G'}) cls.d.setup(timeout=3600) cls.d.sentry.wait(timeout=3600) @@ -35,8 +36,8 @@ class TestScaleStandalone(unittest.TestCase): def tearDownClass(cls): # NB: seems to be a remove_service issue with amulet. However, the # unit does still get removed. Pass OSError for now: - # OSError: juju command failed ['remove-application', 'zk-test']: - # ERROR allocation for service ...zk-test... owned by ... not found + # OSError: juju command failed ['remove-application', ...]: + # ERROR allocation for service ... owned by ... not found try: cls.d.remove_service('spark-test-scale') except OSError as e: |