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