Repository navigation
[Chore] Put date into test index and collection names - #399
Merged
Merged
Conversation
jhamon
marked this pull request as ready for review
October 20, 2024 05:20
NishchayMahor
pushed a commit
to NishchayMahor/python-sdk-1
that referenced
this pull request
Sep 22, 2026
…strict-config stops killing them (pinecone-io#399) (pinecone-io#410) Both smoke jobs install test deps by name against a published wheel rather than syncing the dev group, so nothing tied them to the pytest ini block. `--strict-config` (pinecone-io#306) then made `timeout = 5` a usage error, and in pytest 9 that error is raised after collection — so the job emitted the suite's collect-time skips and exited 4 having run none of the 12 tests it collected. Names the two plugins explicitly, at the dev group's versions, and adds a source-scan guard that holds both install lines to [tool.pytest.ini_options] and to the markers tests/smoke/ applies.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Sometimes indexes and collections aren't cleaned up properly after tests run. It's difficult to clean up orphaned resources without potentially impacting resources associated with tests that are currently running.
Solution
Modify generated names to include a timestamp. This will pave the way for automatically deleting orphaned resources after a certain period of time.
Type of Change
Test Plan
Describe specific steps for validating this change.