MCPcopy Create free account
hub / github.com/cloudspannerecosystem/spanner-cli / initialize

Function initialize

integration_test.go:67–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65}
66
67func initialize() {
68 if os.Getenv(envTestProjectId) == "" || os.Getenv(envTestInstanceId) == "" || os.Getenv(envTestDatabaseId) == "" {
69 skipIntegrateTest = true
70 return
71 }
72
73 testProjectId = os.Getenv(envTestProjectId)
74 testInstanceId = os.Getenv(envTestInstanceId)
75 testDatabaseId = os.Getenv(envTestDatabaseId)
76 testCredential = os.Getenv(envTestCredential)
77}
78
79func generateUniqueTableId() string {
80 count := atomic.AddUint32(&tableIdCounter, 1)

Callers 1

TestMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected