diff options
author | Hector Fernandez <hector@iatec.biz> | 2020-07-06 17:22:17 +0200 |
---|---|---|
committer | Hector Fernandez <hector@iatec.biz> | 2020-07-06 17:22:17 +0200 |
commit | 1d51a80b57cc8c80c78d67c85290503997060e9e (patch) | |
tree | b39712b4f90369280e75adfee3ef81a128dfe3e8 /test-cli/test/tests/qwifi.py | |
parent | cd3c8dd78e3bcdd442967583e3814db3701871c0 (diff) | |
download | board-1d51a80b57cc8c80c78d67c85290503997060e9e.zip board-1d51a80b57cc8c80c78d67c85290503997060e9e.tar.gz board-1d51a80b57cc8c80c78d67c85290503997060e9e.tar.bz2 |
Modified paths of ram and nfs temporary folders.
Diffstat (limited to 'test-cli/test/tests/qwifi.py')
-rw-r--r-- | test-cli/test/tests/qwifi.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test-cli/test/tests/qwifi.py b/test-cli/test/tests/qwifi.py index eb1f0bf..4522057 100644 --- a/test-cli/test/tests/qwifi.py +++ b/test-cli/test/tests/qwifi.py @@ -51,7 +51,7 @@ class Qwifi(unittest.TestCase): # execute iperf command against the server try: p = sh.iperf3("-c", self.__serverip, "-n", self.__numbytestx, "-f", "m", "-p", self.__port, - "-J", _timeout=20) + "-J", _timeout=30) except sh.TimeoutException: self.fail("failed: iperf timeout reached") @@ -63,13 +63,13 @@ class Qwifi(unittest.TestCase): data = json.loads(p.stdout.decode('ascii')) self.__bwreal = float(data['end']['sum_received']['bits_per_second']) / 1024 / 1024 # save result file - with open('/tmp/station/wifi-iperf3.json', 'w') as outfile: + with open('/mnt/station_ramdisk/wifi-iperf3.json', 'w') as outfile: json.dump(data, outfile, indent=4) outfile.close() self.__resultlist.append( { "description": "iperf3 output", - "filepath": "/tmp/station/wifi-iperf3.json", + "filepath": "/mnt/station_ramdisk/wifi-iperf3.json", "mimetype": "application/json" } ) |