fix unittest
This commit is contained in:
parent
7e45659377
commit
c36dc0e16a
@ -52,6 +52,8 @@ namespace ix
|
|||||||
{
|
{
|
||||||
if (messageType == ix::WebSocket_MessageType_Open)
|
if (messageType == ix::WebSocket_MessageType_Open)
|
||||||
{
|
{
|
||||||
|
connectionState->computeId();
|
||||||
|
|
||||||
Logger() << "New connection";
|
Logger() << "New connection";
|
||||||
Logger() << "id: " << connectionState->getId();
|
Logger() << "id: " << connectionState->getId();
|
||||||
Logger() << "Uri: " << openInfo.uri;
|
Logger() << "Uri: " << openInfo.uri;
|
||||||
|
@ -27,7 +27,7 @@ class Command(object):
|
|||||||
thread.join(timeout)
|
thread.join(timeout)
|
||||||
|
|
||||||
if thread.is_alive():
|
if thread.is_alive():
|
||||||
print 'Command timeout, kill it: ' + self.cmd
|
print('Command timeout, kill it: ' + self.cmd)
|
||||||
self.process.terminate()
|
self.process.terminate()
|
||||||
thread.join()
|
thread.join()
|
||||||
return False, 255
|
return False, 255
|
||||||
|
Loading…
x
Reference in New Issue
Block a user