From ca1ebcf54a83d5c40bfeae5e8117180a383febf9 Mon Sep 17 00:00:00 2001 From: Tulsi Shah Date: Mon, 29 Apr 2024 04:55:58 +0000 Subject: [PATCH] adding stat cache ttl 0 --- tools/integration_tests/list_large_dir/list_large_dir_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/integration_tests/list_large_dir/list_large_dir_test.go b/tools/integration_tests/list_large_dir/list_large_dir_test.go index f2f2a1a950..28d1445ae4 100644 --- a/tools/integration_tests/list_large_dir/list_large_dir_test.go +++ b/tools/integration_tests/list_large_dir/list_large_dir_test.go @@ -36,9 +36,9 @@ const NumberOfExplicitDirsInDirectoryWithTwelveThousandFiles = 100 func TestMain(m *testing.M) { setup.ParseSetUpFlags() - flags := [][]string{{"--implicit-dirs"}} + flags := [][]string{{"--implicit-dirs", "--stat-cache-ttl=0"}} if !testing.Short() { - flags = append(flags, []string{"--client-protocol=grpc", "--implicit-dirs=true"}) + flags = append(flags, []string{"--client-protocol=grpc", "--implicit-dirs=true", "--stat-cache-ttl=0"}) } if setup.TestBucket() == "" && setup.MountedDirectory() != "" {