Comment 0 for bug 1355394

Revision history for this message
Picca Frederic-Emmanuel (picca-debian) wrote :

[Test Case]

This is took from the zeromq3 initial bug report

this bug can be seens using the python-binding.
But for htis you need a working tango database. So you need to install tango-db.

then

~$ python
>>> import PyTango
>>> dev_name = 'sys/database/2'
>>> dev = PyTango.DeviceProxy(dev_name)
>>> cb = PyTango.utils.EventCallBack()
>>> id = dev.subscribe_event("state", PyTango.EventType.CHANGE_EVENT,
cb, [], True)

(waits forever... till I press CTRL+C)

the expected result is that the last line does not hang