This commit is contained in:
Shreyas Goenka 2024-10-07 16:12:51 +02:00
parent f35c59106f
commit 808f6ff23c
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ func TestGetDetails(t *testing.T) {
// This test is stored in the internal package to avoid build errors since this
// test itself is run during the CLI generation process.
// This test ensures that the OpenAPI SHA the CLI is being generated from matches
// the OpenAPI SHA of the Go SDK version used in the CLI. We should always upgrade
// the Go SDK version before generating the CLI because downstream generated assets
// like the bundle schema depend on the Go SDK itself.
func TestConsistentDatabricksSdkVersion(t *testing.T) {
// Read the go.mod file
b, err := os.ReadFile("../../go.mod")