Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
N-o-Z committed Feb 7, 2024
1 parent b7a2d3d commit ec576ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions esti/catalog_export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ func setupCatalogExportTestByStorageType(t *testing.T, testData *exportHooksTest
case block.BlockstoreTypeAzure:
testData.AzureStorageAccount = viper.GetString("azure_storage_account")
testData.AzureAccessKey = viper.GetString("azure_storage_access_key")

default:
t.Skip("unsupported block adapter: ", blockstoreType)
}
Expand Down Expand Up @@ -459,11 +460,13 @@ func TestDeltaCatalogExport(t *testing.T) {
ctx, _, repo := setupTest(t)
defer tearDownTest(repo)

accessKeyID := viper.GetString("access_key_id")
secretAccessKey := viper.GetString("secret_access_key")
testData := &exportHooksTestData{
Repository: repo,
Branch: mainBranch,
LakeFSAccessKeyID: "AKIAIOSFDNN7EXAMPLEQ",
LakeFSSecretAccessKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
LakeFSAccessKeyID: accessKeyID,
LakeFSSecretAccessKey: secretAccessKey,
}
blockstore := setupCatalogExportTestByStorageType(t, testData)

Expand Down
2 changes: 2 additions & 0 deletions esti/ops/docker-compose-external-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ services:
- ESTI_FLAGS
- ESTI_FORCE_PATH_STYLE
- ESTI_ADLS_IMPORT_BASE_URL
- ESTI_AZURE_STORAGE_ACCOUNT
- ESTI_AZURE_STORAGE_ACCESS_KEY
working_dir: /lakefs
command:
- /bin/sh
Expand Down

0 comments on commit ec576ce

Please sign in to comment.