This commit is contained in:
1 parent
0274e7b398
commit
b9a3308214
9 files changed
+93
-6
No files matched your search
@@ -87,6 +87,11 @@ $run=Invoke-MsPrivateGroupPlan -Groups $groups
|
||||
Assert-True ($run.Status-eq'PartialFailure'-and($run.Entries | Where-Object { $_.Id -eq 'First' }).Status-eq'Failed') 'Operation runner did not record a failed group.'
|
||||
Assert-True (($run.Entries | Where-Object { $_.Id -eq 'Dependent' }).Status-eq'SkippedDependency'-and$events-notcontains'dependent') 'Operation runner executed a blocked dependency.'
|
||||
Assert-True (($run.Entries | Where-Object { $_.Id -eq 'Independent' }).Status-eq'Succeeded'-and$events-contains'independent') 'Operation runner did not continue with an independent group.'
|
||||
$caseRun=Invoke-MsPrivateGroupPlan -Groups @(
|
||||
[pscustomobject]@{Id='First';Label='First';DependsOn=@();Action={}},
|
||||
[pscustomobject]@{Id='Second';Label='Second';DependsOn=@('first');Action={}}
|
||||
)
|
||||
Assert-True ($caseRun.Status-eq'Completed'-and$caseRun.Entries[1].Status-eq'Succeeded') 'A dependency accepted during validation was incorrectly skipped due to capitalization.'
|
||||
$runReportRoot=Join-Path ([IO.Path]::GetTempPath()) ('ms-private-run-report-'+[guid]::NewGuid().ToString('N'))
|
||||
try{
|
||||
$runReportPath=Join-Path $runReportRoot 'run.json'
|
||||
|
||||
Reference in new issue
Block a user