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:
parent
e57aa124ac
commit
bc316df6d9
@ -333,16 +333,10 @@ func (suite *GraphConnectorIntegrationSuite) TestMailFetch() {
|
|||||||
scope selectors.ExchangeScope
|
scope selectors.ExchangeScope
|
||||||
folderNames map[string]struct{}
|
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",
|
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(
|
scope: sel.MailFolders(
|
||||||
[]string{userID},
|
[]string{userID},
|
||||||
[]string{exchange.DefaultMailFolder},
|
[]string{exchange.DefaultMailFolder},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user