René's URL Explorer Experiment


Title: fix: stabilize flaky timer and thread count tests by zeitlinger · Pull Request #1973 · prometheus/client_java · GitHub

Open Graph Title: fix: stabilize flaky timer and thread count tests by zeitlinger · Pull Request #1973 · prometheus/client_java

X Title: fix: stabilize flaky timer and thread count tests by zeitlinger · Pull Request #1973 · prometheus/client_java

Description: Summary GaugeTest.testTimer: Thread.sleep(12) can take 100ms+ on CI. Assert > 10ms instead of closeTo(12ms, 5ms) JvmThreadsMetricsTest.testInvalidThreadIds: background threads can start between scrapes. Assert only that UNKNOWN count increased by the expected amount, ignore other states Fixes #1971, fixes #1972 Test plan Both tests pass locally mise run build passes CI passes

Open Graph Description: Summary GaugeTest.testTimer: Thread.sleep(12) can take 100ms+ on CI. Assert > 10ms instead of closeTo(12ms, 5ms) JvmThreadsMetricsTest.testInvalidThreadIds: background threads can start between...

X Description: Summary GaugeTest.testTimer: Thread.sleep(12) can take 100ms+ on CI. Assert > 10ms instead of closeTo(12ms, 5ms) JvmThreadsMetricsTest.testInvalidThreadIds: background threads can start bet...

Opengraph URL: https://github.com/prometheus/client_java/pull/1973

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7741eac4-f3ab-664d-8f75-745dfbb5563d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9F5A:89D99:101192:1645AC:6AFBBA08
html-safe-noncecd8a93507eeb732e2824e4b2bea92e59d00709801e9ad6acd2abe443d992465c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjVBOjg5RDk5OjEwMTE5MjoxNjQ1QUM6NkFGQkJBMDgiLCJ2aXNpdG9yX2lkIjoiNzg0NDUwNTk1NDAwNjMxNzU3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac375236b8665b98e66f151a53892a485869aeac02b2a165a3c036d201ef307d34
hovercard-subject-tagpull_request:3421460494
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/prometheus/client_java/pull/1973/files
twitter:imagehttps://avatars.githubusercontent.com/u/2832627?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2832627?s=400&v=4
og:image:altSummary GaugeTest.testTimer: Thread.sleep(12) can take 100ms+ on CI. Assert > 10ms instead of closeTo(12ms, 5ms) JvmThreadsMetricsTest.testInvalidThreadIds: background threads can start between...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/prometheus/client_java git https://github.com/prometheus/client_java.git
octolytics-dimension-user_id3380462
octolytics-dimension-user_loginprometheus
octolytics-dimension-repository_id7997879
octolytics-dimension-repository_nwoprometheus/client_java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7997879
octolytics-dimension-repository_network_root_nwoprometheus/client_java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/prometheus/client_java/pull/1973/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_java%2Fpull%2F1973%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_java%2Fpull%2F1973%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=prometheus%2Fclient_java
Reloadhttps://github.com/prometheus/client_java/pull/1973/files
Reloadhttps://github.com/prometheus/client_java/pull/1973/files
Reloadhttps://github.com/prometheus/client_java/pull/1973/files
prometheushttps://github.com/prometheus
client_javahttps://github.com/prometheus/client_java
Codehttps://github.com/prometheus/client_java
Issues12 (12)https://github.com/prometheus/client_java/issues
Pull requests18 (18)https://github.com/prometheus/client_java/pulls
Actionshttps://github.com/prometheus/client_java/actions
Projectshttps://github.com/prometheus/client_java/projects
Security and qualityhttps://github.com/prometheus/client_java/security
Insightshttps://github.com/prometheus/client_java/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fprometheus%2Fclient_java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fprometheus%2Fclient_java%2Fissues%2Fnew%2Fchoose
zeitlingerhttps://github.com/zeitlinger
mainhttps://github.com/prometheus/client_java/tree/main
fix/flaky-testshttps://github.com/prometheus/client_java/tree/fix/flaky-tests
Conversation 0 https://github.com/prometheus/client_java/pull/1973
Commits 1 https://github.com/prometheus/client_java/pull/1973/commits
Checks 14 https://github.com/prometheus/client_java/pull/1973/checks
Files changed https://github.com/prometheus/client_java/pull/1973/files
Please reload this pagehttps://github.com/prometheus/client_java/pull/1973/files
fix: stabilize flaky timer and thread count tests https://github.com/prometheus/client_java/pull/1973/files#top
Show all changes 1 commit https://github.com/prometheus/client_java/pull/1973/files
04acc04 fix: stabilize flaky timer and thread count tests zeitlinger Mar 19, 2026 https://github.com/prometheus/client_java/pull/1973/commits/04acc048e3efa3f307faeb5f17f7069db727334d
Clear filters https://github.com/prometheus/client_java/pull/1973/files
Please reload this pagehttps://github.com/prometheus/client_java/pull/1973/files
Please reload this pagehttps://github.com/prometheus/client_java/pull/1973/files
GaugeTest.java https://github.com/prometheus/client_java/pull/1973/files#diff-73ea81fabe1b6698f58a2981bb03b4191f5ae40114b3e00f0a148eb014da0361
JvmThreadsMetricsTest.java https://github.com/prometheus/client_java/pull/1973/files#diff-1861b7f98d2c49c318ba1d4721adfd216d7e64244ff445b502bb732e73ba54a6
https://github.com/prometheus/client_java/blob/main/CODEOWNERS#L4
prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics/GaugeTest.javahttps://github.com/prometheus/client_java/pull/1973/files#diff-73ea81fabe1b6698f58a2981bb03b4191f5ae40114b3e00f0a148eb014da0361
View file https://github.com/prometheus/client_java/blob/04acc048e3efa3f307faeb5f17f7069db727334d/prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics/GaugeTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/prometheus/client_java/pull/1973/{{ revealButtonHref }}
https://github.com/prometheus/client_java/pull/1973/files#diff-73ea81fabe1b6698f58a2981bb03b4191f5ae40114b3e00f0a148eb014da0361
https://github.com/prometheus/client_java/pull/1973/files#diff-73ea81fabe1b6698f58a2981bb03b4191f5ae40114b3e00f0a148eb014da0361
https://github.com/prometheus/client_java/blob/main/CODEOWNERS#L4
...on-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetricsTest.javahttps://github.com/prometheus/client_java/pull/1973/files#diff-1861b7f98d2c49c318ba1d4721adfd216d7e64244ff445b502bb732e73ba54a6
View file https://github.com/prometheus/client_java/blob/04acc048e3efa3f307faeb5f17f7069db727334d/prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm/JvmThreadsMetricsTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/prometheus/client_java/pull/1973/{{ revealButtonHref }}
https://github.com/prometheus/client_java/pull/1973/files#diff-1861b7f98d2c49c318ba1d4721adfd216d7e64244ff445b502bb732e73ba54a6
https://github.com/prometheus/client_java/pull/1973/files#diff-1861b7f98d2c49c318ba1d4721adfd216d7e64244ff445b502bb732e73ba54a6
https://github.com/prometheus/client_java/pull/1973/files#diff-1861b7f98d2c49c318ba1d4721adfd216d7e64244ff445b502bb732e73ba54a6
Please reload this pagehttps://github.com/prometheus/client_java/pull/1973/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.