Skip to content

Conversation

@ndokos
Copy link
Member

@ndokos ndokos commented Sep 20, 2016

Fixes issue #392 (the second part - the first part is fixed by PR #383).

Also make the bench-scripts/unittests script table-driven, similar to the
other unittests scripts. Allow selective execution of unit tests.

This PR is rebased on top of PR#383, so it should be merged after #383.

Needed *on the controller only* for fiologparser_hist.py.

Fix bug: get rid of the filename in the output of "wc -l <file>" and keep only
the line count.
Unit test version of check_install_rpm modified to *not* print out
the version. Gold files adjusted appropriately.
@portante portante added this to the V0.40 milestone Sep 20, 2016
@portante portante added the bug label Sep 20, 2016
Copy link
Member

@portante portante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine, just check on that missing "=" in #383.

Also fix some quoting in these tests.
Fixes issue distributed-system-analysis#392.

N.B. the client file is copied into the results directory under
the *fixed* name fio-client.file, to facilitate indexing.

Update gold file.

Make bench-script/unittests table-driven, similar to the other
unittests scripts. Also allow for selective unit test execution.
fiologparser_hist.py was complaining that it could not
find the clat_hist files it was looking for.

That's because fio --client pulls back the *_clat_hist.*.log.* files
under the sampleX/ directory, not under sampleX/clients/<mumble>.

Also added a couple of fixes to eliminate noise: made a stdout
redirection into a stderr redirection and added a -f to rm.
Also make the unittests script table-driven.
@ndokos ndokos force-pushed the wip-fio-client-file branch from c7c5abd to fb87e0d Compare September 22, 2016 13:28
@portante portante merged commit fece1ad into distributed-system-analysis:master Sep 22, 2016
@ndokos ndokos deleted the wip-fio-client-file branch February 25, 2020 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants