Skip to content

Commit

Permalink
test: fix test_vm_autoscaling.py which does not work due to userdata …
Browse files Browse the repository at this point in the history
…improvement
  • Loading branch information
weizhouapache committed Aug 29, 2023
1 parent 40d7da6 commit 9cf9642
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/integration/smoke/test_vm_autoscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,10 @@ def setUpClass(cls):
cls.apiUserdata = UserData.register(
cls.apiclient,
name="ApiUserdata",
userdata="QVBJdXNlcmRhdGE=", #APIuserdata
userdata="IyEvYmluL2Jhc2gKCmVjaG8gIkFQSVVzZXJkYXRhIgoK",
# #!/bin/bash
#
# echo "APIUserData"
account=cls.regular_user.name,
domainid=cls.regular_user.domainid
)
Expand Down Expand Up @@ -327,7 +330,10 @@ def setUpClass(cls):
serviceofferingid=cls.service_offering.id,
zoneid=cls.zone.id,
templateid=cls.template.id,
userdata="VGVzdFVzZXJEYXRh", #TestUserData
userdata="IyEvYmluL2Jhc2gKCmVjaG8gIlRlc3RVc2VyRGF0YSIKCg==",
# #!/bin/bash
#
# echo "TestUserData"
expungevmgraceperiod=DEFAULT_EXPUNGE_VM_GRACE_PERIOD,
otherdeployparams=cls.otherdeployparams
)
Expand Down

0 comments on commit 9cf9642

Please sign in to comment.