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)