Commit 2de25a82 authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: update cdn subscription test

project reference needed
parent 79d8b941
...@@ -62,13 +62,14 @@ class TestSlapOSSubscriptionCDNScenarioMixin(TestSlapOSSubscriptionScenarioMixin ...@@ -62,13 +62,14 @@ class TestSlapOSSubscriptionCDNScenarioMixin(TestSlapOSSubscriptionScenarioMixin
# now instantiate it on compute_node and set some nice connection dict # now instantiate it on compute_node and set some nice connection dict
self.setServerOpenPersonal(subscription_server) self.setServerOpenPublic(subscription_server)
self.login(self.admin_user.getUserId()) self.login(self.admin_user.getUserId())
self.personRequestInstanceNotReady( self.personRequestInstanceNotReady(
software_release=self.subscription_condition.getUrlString(), software_release=self.subscription_condition.getUrlString(),
software_type=self.subscription_condition.getSourceReference(), software_type=self.subscription_condition.getSourceReference(),
partition_reference="InstanceForSlave%s" % self.new_id partition_reference="InstanceForSlave%s" % self.new_id,
project_reference=self.subscription_project.getReference()
) )
self.stepCallSlaposAllocateInstanceAlarm() self.stepCallSlaposAllocateInstanceAlarm()
...@@ -77,7 +78,8 @@ class TestSlapOSSubscriptionCDNScenarioMixin(TestSlapOSSubscriptionScenarioMixin ...@@ -77,7 +78,8 @@ class TestSlapOSSubscriptionCDNScenarioMixin(TestSlapOSSubscriptionScenarioMixin
self.personRequestInstance( self.personRequestInstance(
software_release=self.subscription_condition.getUrlString(), software_release=self.subscription_condition.getUrlString(),
software_type=self.subscription_condition.getSourceReference(), software_type=self.subscription_condition.getSourceReference(),
partition_reference="InstanceForSlave%s" % self.new_id partition_reference="InstanceForSlave%s" % self.new_id,
project_reference=self.subscription_project.getReference()
) )
# now instantiate it on compute_node and set some nice connection dict # now instantiate it on compute_node and set some nice connection dict
...@@ -85,7 +87,7 @@ class TestSlapOSSubscriptionCDNScenarioMixin(TestSlapOSSubscriptionScenarioMixin ...@@ -85,7 +87,7 @@ class TestSlapOSSubscriptionCDNScenarioMixin(TestSlapOSSubscriptionScenarioMixin
self.tic() self.tic()
self.login() self.login()
self.setServerOpenSubscription(subscription_server) #self.setServerOpenSubscription(subscription_server)
self.setAccessToMemcached(subscription_server) self.setAccessToMemcached(subscription_server)
self.tic() self.tic()
self.simulateSlapgridCP(subscription_server) self.simulateSlapgridCP(subscription_server)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment