fix some bugs in monitor 51/39451/4
authordongwenjuan <dong.wenjuan@zte.com.cn>
Thu, 17 Aug 2017 00:57:27 +0000 (08:57 +0800)
committerdongwenjuan <dong.wenjuan@zte.com.cn>
Thu, 17 Aug 2017 08:44:19 +0000 (16:44 +0800)
commit906056bb4e594e3c0a46cf11657b3561583699b4
treeaaef456fb1175721c55dd811b1f8dc05be288e15
parentd540d3046d2a65ab8c4803c0a03c964558e05f44
fix some bugs in monitor

1.send bytes data to the socket
see https://docs.python.org/3/library/socket.html
2.fix a endless loop

Change-Id: I880e713266347d8836cec45ebf9a500bb7c813f4
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
tests/monitor/sample.py
tests/utils.py