Remove flakey mail test (#1309)
## Description Test flakes because CI cleanup job goes through and deletes some folders the folder cache ends up looking for. Solve this by only selecting specific mail folders instead of all of them. Will need to rely on other tests to check if fetching all mail folders works. As only some folders are checked for though, overall impact of removing this test should be minor as the more targeted test is still present Mistakenly re-added by #1134 ## Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [x] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Test - [ ] 💻 CI/Deployment - [ ] 🐹 Trivial/Minor ## Issue(s) * closes #1222 ## Test Plan <!-- How will this be tested prior to merging.--> - [ ] 💪 Manual - [x] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
14bd16f978
commit
740b193415
@ -371,14 +371,6 @@ func (suite *GraphConnectorIntegrationSuite) TestMailFetch() {
|
|||||||
scope selectors.ExchangeScope
|
scope selectors.ExchangeScope
|
||||||
folderNames map[string]struct{}
|
folderNames map[string]struct{}
|
||||||
}{
|
}{
|
||||||
{
|
|
||||||
name: "Mail Iterative Check",
|
|
||||||
scope: selectors.NewExchangeBackup().MailFolders([]string{userID}, selectors.Any())[0],
|
|
||||||
folderNames: map[string]struct{}{
|
|
||||||
exchange.DefaultMailFolder: {},
|
|
||||||
"Sent Items": {},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "Folder Iterative Check Mail",
|
name: "Folder Iterative Check Mail",
|
||||||
scope: selectors.NewExchangeBackup().MailFolders(
|
scope: selectors.NewExchangeBackup().MailFolders(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user