mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
test: fix test_vm_autoscaling.py which does not work due to userdata improvement (#7921)
This commit is contained in:
parent
819dd7b75c
commit
78411fd405
@ -204,7 +204,10 @@ class TestVmAutoScaling(cloudstackTestCase):
|
|||||||
cls.apiUserdata = UserData.register(
|
cls.apiUserdata = UserData.register(
|
||||||
cls.apiclient,
|
cls.apiclient,
|
||||||
name="ApiUserdata",
|
name="ApiUserdata",
|
||||||
userdata="QVBJdXNlcmRhdGE=", #APIuserdata
|
userdata="IyEvYmluL2Jhc2gKCmVjaG8gIkFQSVVzZXJkYXRhIgoK",
|
||||||
|
# #!/bin/bash
|
||||||
|
#
|
||||||
|
# echo "APIUserData"
|
||||||
account=cls.regular_user.name,
|
account=cls.regular_user.name,
|
||||||
domainid=cls.regular_user.domainid
|
domainid=cls.regular_user.domainid
|
||||||
)
|
)
|
||||||
@ -327,7 +330,10 @@ class TestVmAutoScaling(cloudstackTestCase):
|
|||||||
serviceofferingid=cls.service_offering.id,
|
serviceofferingid=cls.service_offering.id,
|
||||||
zoneid=cls.zone.id,
|
zoneid=cls.zone.id,
|
||||||
templateid=cls.template.id,
|
templateid=cls.template.id,
|
||||||
userdata="VGVzdFVzZXJEYXRh", #TestUserData
|
userdata="IyEvYmluL2Jhc2gKCmVjaG8gIlRlc3RVc2VyRGF0YSIKCg==",
|
||||||
|
# #!/bin/bash
|
||||||
|
#
|
||||||
|
# echo "TestUserData"
|
||||||
expungevmgraceperiod=DEFAULT_EXPUNGE_VM_GRACE_PERIOD,
|
expungevmgraceperiod=DEFAULT_EXPUNGE_VM_GRACE_PERIOD,
|
||||||
otherdeployparams=cls.otherdeployparams
|
otherdeployparams=cls.otherdeployparams
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user