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:
parent
56287c42fa
commit
11be4e4590
4
.github/workflows/load_test.yml
vendored
4
.github/workflows/load_test.yml
vendored
@ -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
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user