From 11be4e4590b0f3807012eaf0f900a0df48fc2d98 Mon Sep 17 00:00:00 2001 From: Keepers Date: Mon, 3 Oct 2022 12:59:36 -0600 Subject: [PATCH] up the frequency of load tests (#1024) ## Description Temporarily up the frequency of the load test kickoff for observation. ## Type of change - [x] :robot: Test ## Issue(s) * #902 ## Test Plan - [x] :green_heart: E2E --- .github/workflows/load_test.yml | 4 +++- src/pkg/repository/repository_load_test.go | 7 +------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/load_test.yml b/.github/workflows/load_test.yml index 274d7e448..ee1c257fe 100644 --- a/.github/workflows/load_test.yml +++ b/.github/workflows/load_test.yml @@ -2,7 +2,9 @@ name: Nightly Load Testing on: schedule: # every day at 01:59 (01:59am) UTC - - cron: "59 1 * * *" + # - cron: "59 1 * * *" + # temp, for testing: every 3 hours + 0 */3 * * * permissions: # required to retrieve AWS credentials diff --git a/src/pkg/repository/repository_load_test.go b/src/pkg/repository/repository_load_test.go index e0ed4ebab..ea56548f4 100644 --- a/src/pkg/repository/repository_load_test.go +++ b/src/pkg/repository/repository_load_test.go @@ -10,7 +10,6 @@ import ( "github.com/stretchr/testify/suite" "github.com/alcionai/corso/src/internal/common" - "github.com/alcionai/corso/src/internal/connector/exchange" "github.com/alcionai/corso/src/internal/operations" "github.com/alcionai/corso/src/internal/tester" "github.com/alcionai/corso/src/pkg/account" @@ -231,13 +230,9 @@ func (suite *RepositoryLoadTestExchangeSuite) TestExchange() { service = "exchange" ) - m356User := tester.M365UserID(t) - // backup bsel := selectors.NewExchangeBackup() - bsel.Include(bsel.MailFolders([]string{m356User}, []string{exchange.DefaultMailFolder})) - // bsel.Include(bsel.Users([]string{m356User})) - // bsel.Include(bsel.Users(selectors.Any())) + bsel.Include(bsel.MailFolders(selectors.Any(), selectors.Any())) b, err := r.NewBackup(ctx, bsel.Selector) require.NoError(t, err)