Remove flakey test (#1223)

## Description

There's enough other tests in the codebase that check the functionality of getting multiple folders that it should be fine without this one.

## Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [x] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [x] 🤖 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:
ashmrtn 2022-10-19 11:31:06 -07:00 committed by GitHub
parent e57aa124ac
commit bc316df6d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,16 +333,10 @@ func (suite *GraphConnectorIntegrationSuite) TestMailFetch() {
scope selectors.ExchangeScope
folderNames map[string]struct{}
}{
{
name: "Mail Iterative Check",
scope: sel.MailFolders([]string{userID}, selectors.Any())[0],
folderNames: map[string]struct{}{
exchange.DefaultMailFolder: {},
"Sent Items": {},
},
},
{
name: "Folder Iterative Check Mail",
// Only select specific folders so the test doesn't flake when the CI
// cleanup task deletes things.
scope: sel.MailFolders(
[]string{userID},
[]string{exchange.DefaultMailFolder},