Skip to content

test: use the same measurement in test#240

Merged
jansimonb merged 2 commits into
mainfrom
test/use-same-measurement
May 29, 2025
Merged

test: use the same measurement in test#240
jansimonb merged 2 commits into
mainfrom
test/use-same-measurement

Conversation

@jansimonb
Copy link
Copy Markdown
Contributor

Proposed Changes

Use the same measurement name in the integration test, so it does not create new measurement on influxdb server on every test run.

Many test runs in CircleCI caused quota limit error on InfluxDB Cloud Serverless:

service limit reached: couldn't create new table; 
namespace contains 500 existing tables, applying this write would result in 501 tables, limit is 500

as each new measurement created a new table in influxdb:

SELECT * FROM INFORMATION_SCHEMA.TABLES

/1748446927123/test/com/influxdb/v3/client/ITQueryWrite/handleFlightRuntimeException
/1748446927307/test/com/influxdb/v3/client/ITQueryWrite/handleFlightRuntimeException
/1748446927909/test/com/influxdb/v3/client/ITQueryWrite/handleFlightRuntimeException
...

@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.14%. Comparing base (fcfdb06) to head (07edbe5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #240   +/-   ##
=======================================
  Coverage   90.14%   90.14%           
=======================================
  Files          19       19           
  Lines        1126     1126           
  Branches      177      177           
=======================================
  Hits         1015     1015           
  Misses         41       41           
  Partials       70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jansimonb jansimonb requested review from bednar and karel-rehor May 28, 2025 20:21
Copy link
Copy Markdown
Contributor

@karel-rehor karel-rehor left a comment

Choose a reason for hiding this comment

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

Repeated runs of tests pass locally. Changes make sense. 🚴 🏁

@jansimonb jansimonb merged commit 27267a9 into main May 29, 2025
8 checks passed
@jansimonb jansimonb deleted the test/use-same-measurement branch May 29, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants