Skip to content

Commit

Permalink
Add timeout to bench/snabbnfv-loadgen-dpdk.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Sep 25, 2015
1 parent 2384a59 commit f19ef3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bench/snabbnfv-loadgen-dpdk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -e
out=$(program/snabbnfv/packetblaster_bench.sh)
out=$(timeout 120 program/snabbnfv/packetblaster_bench.sh)
# Extract floating point Mpps number from output.
echo "$out" | tail -n 1 | cut -f 2

0 comments on commit f19ef3c

Please sign in to comment.