up the frequency of load tests (#1024)

## Description

Temporarily up the frequency of the load test kickoff for observation.

## Type of change

- [x] 🤖 Test

## Issue(s)

* #902

## Test Plan

- [x] 💚 E2E
This commit is contained in:
Keepers 2022-10-03 12:59:36 -06:00 committed by GitHub
parent 56287c42fa
commit 11be4e4590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -2,7 +2,9 @@ name: Nightly Load Testing
on: on:
schedule: schedule:
# every day at 01:59 (01:59am) UTC # every day at 01:59 (01:59am) UTC
- cron: "59 1 * * *" # - cron: "59 1 * * *"
# temp, for testing: every 3 hours
0 */3 * * *
permissions: permissions:
# required to retrieve AWS credentials # required to retrieve AWS credentials

View File

@ -10,7 +10,6 @@ import (
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"github.com/alcionai/corso/src/internal/common" "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/operations"
"github.com/alcionai/corso/src/internal/tester" "github.com/alcionai/corso/src/internal/tester"
"github.com/alcionai/corso/src/pkg/account" "github.com/alcionai/corso/src/pkg/account"
@ -231,13 +230,9 @@ func (suite *RepositoryLoadTestExchangeSuite) TestExchange() {
service = "exchange" service = "exchange"
) )
m356User := tester.M365UserID(t)
// backup // backup
bsel := selectors.NewExchangeBackup() bsel := selectors.NewExchangeBackup()
bsel.Include(bsel.MailFolders([]string{m356User}, []string{exchange.DefaultMailFolder})) bsel.Include(bsel.MailFolders(selectors.Any(), selectors.Any()))
// bsel.Include(bsel.Users([]string{m356User}))
// bsel.Include(bsel.Users(selectors.Any()))
b, err := r.NewBackup(ctx, bsel.Selector) b, err := r.NewBackup(ctx, bsel.Selector)
require.NoError(t, err) require.NoError(t, err)