Fix dstat log file path for stackviz

This commit fixes dstat log file path for stackviz. stackviz has a
feature to illustrate a dstat graphs. However it doesn't work because
the dstat log path is wrong.

Change-Id: I510921cf926fe49065d03c161b0a9735bb772908
This commit is contained in:
Masayuki Igawa 2017-02-22 15:58:03 -05:00
parent a2a03d8c7e
commit e7d4e5c81b
No known key found for this signature in database
GPG Key ID: 251CCDE9053850E4
1 changed files with 3 additions and 3 deletions

View File

@ -608,10 +608,10 @@ function process_stackviz {
cp -r $stackviz_path/build $log_path/stackviz
pushd $project_path
if [ -f $BASE/new/dstat-csv.txt ]; then
if [ -f $log_path/dstat-csv_log.txt ]; then
sudo testr last --subunit | stackviz-export \
--dstat $BASE/new/dstat-csv.txt \
--end --stdin \
--dstat $log_path/dstat-csv_log.txt \
--env --stdin \
$log_path/stackviz/data
else
sudo testr last --subunit | stackviz-export \