-
Notifications
You must be signed in to change notification settings - Fork 250
Fix Missing Test Apps after Import-TestToolkitToBcContainer #3841
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
base: main
Are you sure you want to change the base?
Conversation
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 am not sure that adding these:
'Microsoft_Library-NoTransactions.app',
'Microsoft_Prevent Metadata Updates.app'
won't break all tests.
I think the no transactions is an app you an install to make sure that no transactions are made while running tests - and the same with metadata.
@ChrisBlankDe - have you tested this? As already mentioned - I assume that all tests will stop working if I install the NoTransactions app and if there is one thing I really don't want to do, then it is to merge a PR, which breaks the test run of every single partner on planet earth:-) |
Just double checked this. |
First of all, you are right that it is a mess:-)
But, if any test changes system tables they will fail with prevent metadata updates on. On the applications - have you tested that these test apps are running? I excluded a number of test apps, which shouldn't be run. Lastly - if the SMTP Test API library should be included, it also needs to be included in the compilerfolder code. |
@@ -435,7 +436,7 @@ function GetTestToolkitApps { | |||
@(get-childitem -Path "C:\Applications\*.*" -recurse -filter $_) | |||
} | |||
} | |||
$apps += @(get-childitem -Path "C:\Applications\*.*" -recurse -filter "Microsoft_Tests-*.app") | Where-Object { $_ -notlike "*\Microsoft_Tests-TestLibraries.app" -and ($version.Major -ge 17 -or ($_ -notlike "*\Microsoft_Tests-Marketing.app")) -and $_ -notlike "*\Microsoft_Tests-SINGLESERVER.app" } | |||
$apps += @(get-childitem -Path "C:\Applications\*.*" -recurse) | ? { $_.name -like "Microsoft_Tests-*.app" -or $_.FullName -match '\\Test\\.*[ _]Test(?:s?| Automations).app' } | Where-Object { $_ -notlike "*\Microsoft_Tests-TestLibraries.app" -and ($version.Major -ge 17 -or ($_ -notlike "*\Microsoft_Tests-Marketing.app")) -and $_ -notlike "*\Microsoft_Tests-SINGLESERVER.app" } |
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.
Won't this double-add some of the Test Library apps from above?
I converted this PR back to draft. i will try to implement this also for compilation folder (just used by run-alpipeline :/ ) |
Fix #3729
Adds Libraries:
Adds Tests:
this would have been simpler / nicer if msft had a consistent folder structure and naming pattern :/