Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

test: Added timestamp to sink names + autodelete sinks older than 2 hours in export_test.py#925

Merged
parthea merged 7 commits intomainfrom
samples-cleanup
Aug 1, 2024
Merged

test: Added timestamp to sink names + autodelete sinks older than 2 hours in export_test.py#925
parthea merged 7 commits intomainfrom
samples-cleanup

Conversation

@gkevinzheng
Copy link
Copy Markdown
Contributor

@gkevinzheng gkevinzheng commented Aug 1, 2024

Added a timestamp field in TEST_SINK_NAME_IMPL and a cleanup threshold so that the export_test.py test suite deletes sinks older than 2 hours when run.

Also added exponential backoff to sink deletion to reduce the chances of sink deletion failure.

Fixes #923

@gkevinzheng gkevinzheng requested a review from a team as a code owner August 1, 2024 17:55
@gkevinzheng gkevinzheng requested review from a team, cindy-peng and engelke August 1, 2024 17:55
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Aug 1, 2024
@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/python-logging API. label Aug 1, 2024
@gkevinzheng gkevinzheng changed the title chore: Running this to remove all sinks fix: Added timestamp to sink names + autodelete sinks older than 2 hours in export_test.py Aug 1, 2024
@parthea parthea changed the title fix: Added timestamp to sink names + autodelete sinks older than 2 hours in export_test.py test: Added timestamp to sink names + autodelete sinks older than 2 hours in export_test.py Aug 1, 2024
@parthea parthea merged commit b86081e into main Aug 1, 2024
@parthea parthea deleted the samples-cleanup branch August 1, 2024 20:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: logging Issues related to the googleapis/python-logging API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up samples resources

3 participants