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

feat(profiler): update proftest to support parsing floating-point backoff durations #2588

Merged
merged 2 commits into from
Jul 14, 2020

Conversation

nolanmar511
Copy link
Contributor

@nolanmar511 nolanmar511 commented Jul 11, 2020

The first duration string in the Python profiling agent's backoff log messages has the form "2400.000s". This change allows the backoff durations to be parsed correctly for the Python agent.

TESTED: I originally tested this change by trying to parse exact log message printed by the python agent in the unit test, then simplified the unit test.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 11, 2020
Copy link
Contributor

@kalyanac kalyanac left a comment

Choose a reason for hiding this comment

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

Tested? If yes, can you add the tests in the PR desc?

profiler/proftest/proftest_test.go Outdated Show resolved Hide resolved
profiler/proftest/proftest.go Outdated Show resolved Hide resolved
@tbpg tbpg added the automerge Merge the pull request once unit tests and other checks pass. label Jul 14, 2020
@tbpg tbpg changed the title profiler: update proftest to support parsing floating-point backoff durations feat(profiler): update proftest to support parsing floating-point backoff durations Jul 14, 2020
@gcf-merge-on-green gcf-merge-on-green bot merged commit 06b6069 into googleapis:master Jul 14, 2020
@nolanmar511 nolanmar511 deleted the backoff-float branch July 14, 2020 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants