GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: flaky tests due to imprecision in floating point calculation and performance test setup by mrfaizal · Pull Request #865 · googleapis/python-api-core

This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Conversation

@mrfaizal

@mrfaizal mrfaizal commented Nov 14, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fix flaky tests due to imprecision in floating point calculation and performance test setup

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@product-auto-label product-auto-label Bot added the size: xs Pull request size is extra small. label Nov 14, 2025
@mrfaizal
WIP: Fix floating point test error
70e66d6
Avoid floating point conversion imprecision
@mrfaizal
mrfaizal force-pushed the fix-test branch from 5957cf0 to 70e66d6 Compare November 14, 2025 05:11
mrfaizal added 2 commits November 13, 2025 21:23
@mrfaizal
Fix linter error with black
004e845
Fix linter error with black
@mrfaizal
Fix flaky performance test
a9cb163
Ensure URL encoding takes enough time so that cached version is measurably 10x faster
@mrfaizal mrfaizal changed the title WIP: Fix floating point test error fix: flaky tests due to imprecision in floating point calculation and performance test setup Nov 14, 2025
@mrfaizal
mrfaizal marked this pull request as ready for review November 14, 2025 05:39
@mrfaizal
mrfaizal requested review from a team November 14, 2025 05:39
@blunderbuss-gcf blunderbuss-gcf Bot assigned Linchin Nov 14, 2025
@mrfaizal mrfaizal assigned vchudnov-g and unassigned Linchin Nov 14, 2025
coryan
coryan previously approved these changes Nov 14, 2025
View reviewed changes
vchudnov-g
vchudnov-g suggested changes Nov 14, 2025
View reviewed changes
Comment thread tests/unit/gapic/test_method.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@mrfaizal
Skip known flaky test
b555d80
Change code to skip flaky test and add a new test that uses a constant timeout instead of a number to check that override works
@mrfaizal
mrfaizal dismissed coryan’s stale review via b555d80 November 15, 2025 00:58
@product-auto-label product-auto-label Bot added size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels Nov 15, 2025
@mrfaizal
mrfaizal requested a review from vchudnov-g November 15, 2025 01:00
vchudnov-g
vchudnov-g approved these changes Nov 17, 2025
View reviewed changes

@vchudnov-g vchudnov-g left a comment

Copy link
Copy Markdown
Contributor

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.

Please do update the PR description to be more informative

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mrfaizal reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@mrfaizal
mrfaizal merged commit 9340408 into main Nov 17, 2025
@mrfaizal
mrfaizal deleted the fix-test branch November 17, 2025 19:27
@vchudnov-g vchudnov-g mentioned this pull request Nov 20, 2025
chore: librarian release pull request: 20251120T142847Z #868
Closed
This was referenced Jan 8, 2026
chore: librarian release pull request: 20260108T122817Z #881
Closed
chore: librarian release pull request: 20260108T134327Z #883
Merged
daniel-sanche added a commit that referenced this pull request Jan 8, 2026
@daniel-sanche
chore: librarian release pull request: 20260108T134327Z (#883)
014d3de
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v1.0.1
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620
<details><summary>google-api-core: 2.29.0</summary>

##
[2.29.0](v2.28.1...v2.29.0)
(2026-01-08)

### Features

* make parse_version_to_tuple public (#864)
([c969186](c969186f))

* Auto enable mTLS when supported certificates are detected (#869)
([f8bf6f9](f8bf6f96))

### Bug Fixes

* remove call to importlib.metadata.packages_distributions() for
py38/py39 (#859)
([628003e](628003e2))

* Log version check errors (#858)
([6493118](6493118c))

* flaky tests due to imprecision in floating point calculation and
performance test setup (#865)
([9340408](93404080))

* closes tailing streams in bidi classes. (#851)
([c97b3a0](c97b3a00))

</details>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@vchudnov-g vchudnov-g vchudnov-g approved these changes
@coryan coryan coryan left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@vchudnov-g vchudnov-g

Labels

size: s Pull request size is small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@mrfaizal @vchudnov-g @coryan @Linchin
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.