-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable MS.SHAREPOINT.3.2v1 functional tests temporarily #1461
base: main
Are you sure you want to change the base?
Disable MS.SHAREPOINT.3.2v1 functional tests temporarily #1461
Conversation
f09a437
to
d4e31cc
Compare
d4e31cc
to
9d925d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize you only changed the 3.2 tests, and as expected, they don't run. But in tenant 2, the 3.3 tests randomly fail. Maybe that series should also be temporarily disabled?
It is possible that since it's the transition from Disabled to another value for SharingCapability that causes the issue, that disabling 3.2 only pushes the problem to the next set of tests. I didn't run into it in my testing, but the intermittent nature means I may just have gotten unlucky during my runs. But I also couldn't reproduce it here with five additional runs either.
So, for now, I'd say we continue with just 3.2 disabled and I'll continue to watch daily functional test results. If I start seeing 3.3 becoming the squeaky wheel, then I'll consider more drastic changes. But for now I'm trying to disable the least amount of tests necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Branch correctly omits the one test that randomly fails - approved.
Will add a comment to the spo issue tracking the random failures to re-add this test when the random failures are fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Watch and see is a good way to go. There are still many unanswered questions about the sharepoint API bug
🗣 Description
Comments out the MS.SHAREPOINT.3.2v1 functional tests until the issue with toggling settings via the API can be resolved.
💭 Motivation and context
Should ensure the scheduled automated functional test runs don't regularly fail due to false positives when the SharePoint API does not toggle the test setting appropriately prior to this test. Long term, pursuing other workarounds and solutions such that these tests can be re-enabled. For now, manual testing is still possible using these tests.
Closes #1459
🧪 Testing
In order the validate that this improves the running of SharePoint functional tests, run the SharePoint PnP variant plan manually and repeat on as many tenants as necessary to ensure it finishes without error.
Can use ScubaGearCheck.ps1 script to automate run with following command line. Assumes that you already have service principal setup and have added thumbprint as default for ScubaGearCheck.ps1 you are running by editing the script.
✅ Pre-approval checklist
All future TODOs are captured in issues, which are referenced in code comments.All relevant repo and/or project documentation updated to reflect these changes.Unit tests added/updated to cover PowerShell and Rego changes.✅ Pre-merge checklist
PR passed smoke test check.
Feature branch has been rebased against changes from parent branch, as needed
Use
Rebase branch
button below or use this reference to rebase from the command line.Resolved all merge conflicts on branch
Notified merge coordinator that PR is ready for merge via comment mention
Demonstrate changes to the team for questions and comments.
(Note: Only required for issues of size
Medium
or larger)✅ Post-merge checklist