reduce load test to default folders (#1062)
## Description Load Testing is causing folder growth (fix is underway) and is already taking > 4 hours only to back-up emails. This reduces the dataset to only the primary folders for each exchange type. We can expand from here when data production is better under control. ## Type of change - [x] 🤖 Test ## Issue(s) * #902 ## Test Plan - [x] 💚 E2E
This commit is contained in:
parent
4ba8f50c53
commit
cba065ec94
@ -9,6 +9,7 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/stretchr/testify/suite"
|
||||
|
||||
"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"
|
||||
@ -234,7 +235,9 @@ func (suite *RepositoryLoadTestExchangeSuite) TestExchange() {
|
||||
|
||||
// backup
|
||||
bsel := selectors.NewExchangeBackup()
|
||||
bsel.Include(bsel.MailFolders(selectors.Any(), selectors.Any()))
|
||||
bsel.Include(bsel.MailFolders(selectors.Any(), []string{exchange.DefaultMailFolder}))
|
||||
bsel.Include(bsel.ContactFolders(selectors.Any(), []string{exchange.DefaultContactFolder}))
|
||||
bsel.Include(bsel.EventCalendars(selectors.Any(), []string{exchange.DefaultCalendar}))
|
||||
|
||||
b, err := r.NewBackup(ctx, bsel.Selector)
|
||||
require.NoError(t, err)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user