databrickslabs / databrickslabs/pytester
Test failure: `test_catalog_fixture`
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 139
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
❌ test_catalog_fixture: databricks.sdk.errors.platform.BadRequest: Cannot create 1 Catalog(s) in Metastore 8952c1e3-b265-4adf-98c3-6f755e2e1453 (estimated count: 1120, limit: 1000). (788ms)
databricks.sdk.errors.platform.BadRequest: Cannot create 1 Catalog(s) in Metastore 8952c1e3-b265-4adf-98c3-6f755e2e1453 (estimated count: 1120, limit: 1000).
[gw0] linux -- Python 3.10.20 /home/runner/work/pytester/pytester/.venv/bin/python
05:11 DEBUG [databricks.labs.pytester.fixtures.baseline] clearing 0 table fixtures
05:11 DEBUG [databricks.labs.pytester.fixtures.baseline] clearing 0 schema fixtures
05:11 DEBUG [databricks.labs.pytester.fixtures.baseline] clearing 0 catalog fixtures
[gw0] linux -- Python 3.10.20 /home/runner/work/pytester/pytester/.venv/bin/python
Running from nightly #692
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the test_catalog_fixture failure from nightly run #692 and inspect the catalog fixture setup and baseline cleanup behavior shown in the logs. Reproduce the failure against the Databricks metastore, then verify that the test no longer exceeds the 1,000-catalog limit and that the nightly test passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cloud, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100