Using binary data in dummy mode

This commit is contained in:
Miroslav Stampar 2013-03-09 19:40:24 +01:00
parent 1e731f87a4
commit 79d6a0e9c9

View File

@ -184,7 +184,7 @@ class Connect(object):
cpuThrottle(conf.cpuThrottle) cpuThrottle(conf.cpuThrottle)
if conf.dummy: if conf.dummy:
return randomStr(int(randomInt())), {}, int(randomInt()) return randomStr(int(randomInt()), alphabet=[chr(_) for _ in xrange(256)]), {}, int(randomInt())
threadData = getCurrentThreadData() threadData = getCurrentThreadData()
with kb.locks.request: with kb.locks.request: