load test all data for all users (#1172)

## Description

Watch the minimum-complete load test over the weekend.
Backup only, all tenant users, all data types, no restrictions.

## Type of change

- [x] 🤖 Test

## Issue(s)

* #902

## Test Plan

- [x] 💚 E2E
This commit is contained in:
Keepers 2022-10-14 13:11:46 -06:00 committed by GitHub
parent f737f58a0f
commit d2d5cd7f42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,6 +197,7 @@ func runRestoreLoadTest(
users []string,
) {
//revive:enable:context-as-argument
t.Skip("only validating backup at this time")
t.Run("restore_"+name, func(t *testing.T) {
var (
err error
@ -334,13 +335,14 @@ func (suite *RepositoryLoadTestExchangeSuite) TestExchange() {
r = suite.repo
service = "exchange"
usersUnderTest = users
all = selectors.Any()
)
// backup
bsel := selectors.NewExchangeBackup()
bsel.Include(bsel.MailFolders(usersUnderTest, []string{exchange.DefaultMailFolder}))
bsel.Include(bsel.ContactFolders(usersUnderTest, []string{exchange.DefaultContactFolder}))
bsel.Include(bsel.EventCalendars(usersUnderTest, []string{exchange.DefaultCalendar}))
bsel.Include(bsel.MailFolders(usersUnderTest, all))
bsel.Include(bsel.ContactFolders(usersUnderTest, all))
bsel.Include(bsel.EventCalendars(usersUnderTest, all))
b, err := r.NewBackup(ctx, bsel.Selector)
require.NoError(t, err)