Author: gnichols
Date: 2011-04-21 15:36:22 +0000 (Thu, 21 Apr 2011)
New Revision: 906
Modified:
trunk/tests/network/network.py
Log:
698463 - network test is killed on s390x
Modified: trunk/tests/network/network.py
===================================================================
--- trunk/tests/network/network.py 2011-04-21 15:17:39 UTC (rev 905)
+++ trunk/tests/network/network.py 2011-04-21 15:36:22 UTC (rev 906)
@@ -319,7 +319,11 @@
except OSError:
pass
- dd = Command("dd if=/dev/urandom of=%s bs=128k count=%s" % (self.testFile, self.interfaceSpeed))
+ # use interfaceSpeed/8, creating a file that takes very roughly 10 sec to transfer
+ count = self.interfaceSpeed/8
+ blocksize = 128 # KB
+
+ dd = Command("dd if=/dev/urandom of=%s bs=%uk count=%u" % (self.testFile, blocksize, count))
try:
dd.run()
except V7CommandException, exception: