Skip to content

Commit

Permalink
test on VM
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulsishah committed Aug 22, 2024
1 parent 65eacf5 commit 9645060
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/integration_tests/local_file/local_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ func TestMain(m *testing.M) {
{"--implicit-dirs=true", "--rename-dir-limit=3"},
{"--implicit-dirs=false", "--rename-dir-limit=3"}}

if !testing.Short() {
setup.AppendFlagsToAllFlagsInTheFlagsSet(&flagsSet, "--client-protocol=grpc")
}

// Override the flagSet for HNS buckets by removing the 'implicit-dir' or 'rename-dir-limit' flags, as these are not utilized in the HNS bucket context.
if setup.IsHierarchicalBucket(ctx, storageClient) {
flagsSet = [][]string{{}}
}

if !testing.Short() {
setup.AppendFlagsToAllFlagsInTheFlagsSet(&flagsSet, "--client-protocol=grpc")
}

successCode := static_mounting.RunTests(flagsSet, m)

if successCode == 0 {
Expand Down

0 comments on commit 9645060

Please sign in to comment.