Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdr/devices/MSDD/python/MSDD_test
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ class MSDDTest(object):
sock.setsockopt(socket.SOL_IP, socket.IP_ADD_MEMBERSHIP, socket.inet_aton(self.MCAST_GRP) + socket.inet_aton(int_ip))
sock.bind(('', self.MCAST_PORT))

# test packets are being recieved and they are the proper length
# test packets are being received and they are the proper length
passed = True
for ii in range(10):
sock.settimeout(1)
try:
x = sock.recv(10240)
except:
if str(sys.exc_info()[1]) == 'timed out':
print 'ERROR: recieve call timed out for ' + str(localInterface.name)
print 'ERROR: receive call timed out for ' + str(localInterface.name)
sys.exit()
else:
raise
Expand Down