-
Notifications
You must be signed in to change notification settings - Fork 107
Fix tool argument handling (v0.69) #1812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tool argument handling (v0.69) #1812
Conversation
ndokos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - do we need to turn off black for this? The tests are failing because of it.
See PR distributed-system-analysis#1768, #d382a8da2b8bdac4e88fe0f6da24ec31fc6d1051.
b243fa1 to
7f0d31d
Compare
I back-ported PR #1768 to this branch, which should fix that problem. The agent and server tests also failed, but they seem to be an ordering problem we have not locked down in the unit tests. |
7f0d31d to
4419bd7
Compare
|
@ndokos, so I've had to add a couple more commits to address the test failures. Seems like we have a working environment now. |
Made some major, but subtle, changes.
This is a back-port of #bf382c23f2ddd1a1a97a6c035fbff2cc6f3c9313, from PR distributed-system-analysis#1733.
0172419 to
6cb7649
Compare
This is a back-port of #47edfa80d9 (PR distributed-system-analysis#1734).
When `pbench-register-tool` accepts command line arguments to add as tool options, the order of those options received needs to be preserved. The code needs to use indexed arrays properly to preserve order. It was trying to use associative arrays as indexed. We also add a unit test for `pbench-start-tools`, using the `tcpdump` command with two arguments registered.
Fixes issue distributed-system-analysis#1751, where tools with multiple arguments only have the first argument passed to the tool command.
6cb7649 to
beeff24
Compare
zulcss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Fixes issue #1751, where tools with multiple arguments only have the first argument passed to the tool command.
This PR is only for the
b0.69branch.