Comments (5)
Maybe we should generalize/make visible https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/logging/internal/testing/unique.go.
from golang-samples.
We need a very similar solution what unique.go does for generating names.
Our current naming format also includes a repo prefix.
"golang-samples-repo-" + prefix + "-" + timestamp
// e.g. golang-samples-repo-buckets-<timestamp>
from golang-samples.
We don't exactly need anything that complex because the tests are sharded
across multiple projects. Aggressive clean up by prefix or name is fine.
On Nov 21, 2016 1:42 PM, "Jaana Burcu Dogan" [email protected]
wrote:
We need a very similar solution what unique.go does for generating names.
Our current naming format also includes a repo prefix.
"golang-samples-repo-" + prefix + "-" + timestamp
// e.g. golang-samples-repo-buckets-—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#174 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABhlslxpJ0JmrE6q4ZEyeGRfbjuUbDDks5rAhAqgaJpZM4K4kDM
.
from golang-samples.
Likely superseded by #220. Other tests are fine, but may leave behind some garbage.
Maybe best to move to creating resources that always have the same name for a given test project.
If anyone wants to work on this, (@rakyll?) then the first thing would be to do an audit of existing resources created for each test.
from golang-samples.
This is mostly done on samples I've seen. So, I'm going to close it. As we rewrite samples to follow the style guide, we can make sure that resources are cleaned up. But, I don't think we need to proactively go through all samples and delete.
from golang-samples.
Related Issues (20)
- dlp/snippets/deid: TestReidFPE failed HOT 1
- run/testing: TestImageProcessingService failed HOT 1
- pubsub/topics: TestCreate failed HOT 1
- asset/quickstart/search-all-resources: TestMain failed HOT 1
- storagetransfer: TestGetLatestTransferOperation failed HOT 2
- storage/objects: TestKMSObjects failed HOT 2
- dlp/snippets/inspect: TestInspectImageFileAllInfoTypes failed HOT 1
- dlp/snippets/jobs: TestCreateJob failed HOT 1
- Adopt grouping for security updates HOT 1
- go1.19 no longer supported
- media/videostitcher: TestDeleteLiveConfig failed HOT 1
- datacatalog/datacatalog_quickstart: TestApp failed HOT 1
- storage/objects: TestObjectBucketLock failed HOT 2
- spanner/spanner_snippets/spanner: TestForeignKeyDeleteCascadeSample failed HOT 1
- vision/detect: TestDetect failed HOT 1
- dlp/snippets/redact: TestRedactImageFileListedInfoTypes failed HOT 1
- vertexai/function-calling: Test_functionCalls failed HOT 1
- vertexai/function-calling: Test_functionCallsChat failed HOT 2
- spanner/spanner_snippets/spanner: TestPgPartitionedDml failed HOT 1
- run/testing: TestCloudRunJobs failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golang-samples.