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

Simplify tests after Dynatrace Metric Utils 1.5.0 release #3065

Conversation

pirgeo
Copy link
Contributor

@pirgeo pirgeo commented Mar 10, 2022

Resolves #3035

This PR simplifies the tests after we made a method for testing public in the DynatraceFileBasedConfigurationProvider, thanks @jonatan-ivanov for pointing it out: #2916 (comment).

The newly released version of the Dynatrace utility library (1.5.0) should also fix the behavior where tests take a long time on macOS, due to a FilePolling implementation that only polled for changes every 10s.

@shakuzen shakuzen added registry: dynatrace A Dynatrace Registry related issue type: task A general task labels Mar 11, 2022
@shakuzen shakuzen added this to the 1.9.0-M4 milestone Mar 11, 2022
@shakuzen shakuzen changed the base branch from main to 1.9.x March 11, 2022 08:24
@shakuzen
Copy link
Member

Could you rebase onto the 1.9.x branch. I'm having trouble doing so on your branch. Perhaps permission for maintainers to update the PR is not enabled? Or I'm just doing something wrong.

@pirgeo pirgeo force-pushed the update-dynatrace-dependency branch from 4e227ec to d157996 Compare March 11, 2022 12:25
@pirgeo
Copy link
Contributor Author

pirgeo commented Mar 11, 2022

Hey @shakuzen, thanks for taking a look. I think the problem might be that this is a fork in our organization, and I think for organizational forks maintainers_can_modify is false by default. I rebased onto 1.9.x, and will see if I can't allow you to modify it after all.

Edit: I updated the PR to allow maintainers to modify it. Thanks again!

@shakuzen shakuzen merged commit 10988e8 into micrometer-metrics:1.9.x Mar 11, 2022
@pirgeo pirgeo deleted the update-dynatrace-dependency branch March 11, 2022 14:50
jonatan-ivanov added a commit that referenced this pull request Mar 15, 2022
File polling seems to be fixed in the latest Dynatrace lib so we can lower the await timeouts in tests
related: gh-3065
@jonatan-ivanov
Copy link
Member

Thanks @pirgeo!
fyi: I updated the tests and lowered the polling timeouts: 707508c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
registry: dynatrace A Dynatrace Registry related issue type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynatrace file-based configuration slow on macOS
3 participants