Skip to content

Commit

Permalink
Increasing timeout of operations package (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-prince authored Aug 1, 2024
1 parent 21ecb42 commit 95ce6de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/integration_tests/operations/operations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const FileInDirThreeInCreateThreeLevelDirTest = "fileInDirThreeInCreateThreeLeve
const ContentInFileInDirThreeInCreateThreeLevelDirTest = "Hello world!!"
const Content = "line 1\nline 2\n"
const onlyDirMounted = "OnlyDirMountOperations"
const storageClientTimeout = time.Minute * 50

func createMountConfigsAndEquivalentFlags() (flags [][]string) {
cacheDirPath := path.Join(os.Getenv("HOME"), "operations-cache-dir")
Expand Down Expand Up @@ -160,7 +161,7 @@ func TestMain(m *testing.M) {
// Create storage client before running tests.
ctx := context.Background()
var storageClient *storage.Client
closeStorageClient := client.CreateStorageClientWithTimeOut(&ctx, &storageClient, time.Minute*40)
closeStorageClient := client.CreateStorageClientWithTimeOut(&ctx, &storageClient, storageClientTimeout)
defer func() {
err := closeStorageClient()
if err != nil {
Expand Down

0 comments on commit 95ce6de

Please sign in to comment.