Skip to content

Commit

Permalink
Merge pull request #1103 from narasimhan-v/uperf_fix
Browse files Browse the repository at this point in the history
Fix uperf test
  • Loading branch information
PraveenPenguin authored May 13, 2019
2 parents 0d2b47b + 8c0ffce commit ede9581
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions io/net/uperf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def setUp(self):
"""
smm = SoftwareManager()
detected_distro = distro.detect()
pkgs = ["gcc", "autoconf", "perl", "m4", "git-core"]
pkgs = ["gcc", "autoconf", "perl", "m4", "git-core", "automake"]
if detected_distro.name == "Ubuntu":
pkgs.extend(["libsctp1", "libsctp-dev", "lksctp-tools"])
else:
Expand Down Expand Up @@ -94,8 +94,8 @@ def test(self):
transmitting (or receiving) data from a client. This transmit large
messages using multiple threads or processes.
"""
os.chdir(os.path.join(self.uperf_dir, 'manual'))
cmd = "h=%s proto=tcp uperf -m throughput.xml -a" % self.peer_ip
cmd = "h=%s proto=tcp ./src/uperf -m manual/throughput.xml -a" \
% self.peer_ip
result = process.run(cmd, shell=True, ignore_status=True)
if result.exit_status:
self.fail("FAIL: Uperf Run failed")
Expand Down

0 comments on commit ede9581

Please sign in to comment.