Skip to content
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

DM-14849: Metadata-based metrics not measured #42

Merged
merged 3 commits into from Aug 6, 2018
Merged

Conversation

kfindeisen
Copy link
Member

This PR fixes a systematic error in the metadata keys being used by the ap.verify.measurements package (the keys did not get updated when ap_pipe was turned into a task). It also broadens the runtime measurer for forward-compatibility with DM-2639.

The task name was previously hardcoded into metadata lookups despite
an argument being available.
The old names were incorrect once ap_pipe became a CmdLineTask
with subtasks.
This change allows measurements.measureRuntime to work with tasks that
use run, runDataRef, or both.
@kfindeisen kfindeisen requested a review from ebellm August 3, 2018 22:33
@kfindeisen kfindeisen merged commit cef675c into master Aug 6, 2018
@kfindeisen kfindeisen deleted the tickets/DM-14849 branch November 30, 2018 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants