-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I think there is an issue in Python (I do not know in C++ or Java) after reloading the container. I am using the latest ACS release (2017-02). Here is a test that fails (the complete file is in attachment), because the last but one line raises a CORBA.FAILURE
:
def test_get_component_after_reloading_container(self):
component = self.client.getComponent(self.component_name)
foo = component.find_characteristic('foo')
# Stop the container
self.container.stop()
self.container.wait_until_not_running()
# Restart the container
self.container.start()
self.container.wait_until_running()
# Get again the component, but it is the same if you do not do it
component = self.client.getComponent(self.component_name)
foo = component.find_characteristic('foo') # BOOM!
self.assertEqual(foo, [])
Basically, if I get the component, stop the container, re-start the container, and get again the component, then at the first use of the component (calling a method, for instance) I get a CORBA.FAILURE
. After that everything works fine (if you catch the exception...).
Metadata
Metadata
Assignees
Labels
No labels