PASSED

tSQLt SQL E2E

Generated at 2026-09-02T19:13:42.260Z. Raw output: run-tsqlt-output.txt. Structured data: results.json.

Total
449
Passed
449
Failed
0
Skipped
0
Errored
0
Modules
20

Module Summary

Module Total Passed Failed Skipped Errored
LAB_EvaluateMechanicalResult_Tests 13 13 0 0 0
LAB_TensileRequirements_Tests 15 15 0 0 0
M2_CarrierInstancesPasses_Tests 31 31 0 0 0
M2_CarrierProtection_Tests 48 48 0 0 0
M2_DeleteEvent_Tests 4 4 0 0 0
M2_DetectRollsetDisruption_Tests 28 28 0 0 0
M2_DisruptionTracking_Tests 16 16 0 0 0
M2_DraftEvents_Tests 70 70 0 0 0
M2_EdgerRollPass_Tests 15 15 0 0 0
M2_EventErrorHandling_Tests 9 9 0 0 0
M2_EventIntegration_Tests 35 35 0 0 0
M2_GetCampaignsByEventId_Tests 2 2 0 0 0
M2_GetProductionMonth_Tests 6 6 0 0 0
M2_NonProductiveOverlap_Tests 10 10 0 0 0
M2_PassCampaigns_Tests 14 14 0 0 0
M2_ResolveEventCollisions_Tests 48 48 0 0 0
M2_ScheduleCompaction_Tests 22 22 0 0 0
M2_SwapRollsetsRolls_Tests 16 16 0 0 0
M2_SyncCampaignsToProductionEvents_Tests 39 39 0 0 0
M2_TrackPassCampaignsJob_Tests 8 8 0 0 0

Test Results

# Module Test Duration (ms) Result
1 LAB_EvaluateMechanicalResult_Tests test Elongation is never converted 4 Success
2 LAB_EvaluateMechanicalResult_Tests test ksi limits are not converted 8 Success
3 LAB_EvaluateMechanicalResult_Tests test missing Yield fails when a min is required 8 Success
4 LAB_EvaluateMechanicalResult_Tests test Passed is NULL when there is nothing to check 8 Success
5 LAB_EvaluateMechanicalResult_Tests test RA missing with section but no grade limit does not fail 4 Success
6 LAB_EvaluateMechanicalResult_Tests test RA missing with section demanding it fails 8 Success
7 LAB_EvaluateMechanicalResult_Tests test RA missing without section does not fail 4 Success
8 LAB_EvaluateMechanicalResult_Tests test RA present below min is judged regardless of section 8 Success
9 LAB_EvaluateMechanicalResult_Tests test RA present in range with section and grade passes 4 Success
10 LAB_EvaluateMechanicalResult_Tests test Tensile max in N per mm2 fails above converted max 8 Success
11 LAB_EvaluateMechanicalResult_Tests test Yield in N per mm2 fails below converted min 4 Success
12 LAB_EvaluateMechanicalResult_Tests test Yield in N per mm2 passes after conversion 9 Success
13 LAB_EvaluateMechanicalResult_Tests test Yield in PSI fails below converted min 8 Success
14 LAB_TensileRequirements_Tests test CorrectHeatGrades updates GradeId when swv-mes has different grade 140 Success
15 LAB_TensileRequirements_Tests test Disposition fails if any retest sample fails 311 Success
16 LAB_TensileRequirements_Tests test Disposition returns P when all samples pass 230 Success
17 LAB_TensileRequirements_Tests test Disposition returns U when any sample fails 184 Success
18 LAB_TensileRequirements_Tests test Disposition returns U when one of multiple samples fails 154 Success
19 LAB_TensileRequirements_Tests test Disposition uses corrected grade after grade correction 200 Success
20 LAB_TensileRequirements_Tests test Disposition uses latest run only - retest supersedes 176 Success
21 LAB_TensileRequirements_Tests test Disposition uses version effective at report time 196 Success
22 LAB_TensileRequirements_Tests test UpsertTensileRequirements creates new version 229 Success
23 LAB_TensileRequirements_Tests test UpsertTensileRequirements throws error when EffectiveDate is NULL 89 Success
24 LAB_TensileRequirements_Tests test UpsertTensileRequirements throws error when Rev is NULL 171 Success
25 LAB_TensileRequirements_Tests test UpsertTensileRequirements throws error when Rows is invalid JSON 155 Success
26 LAB_TensileRequirements_Tests test YieldPassed returns 0 when value above max 127 Success
27 LAB_TensileRequirements_Tests test YieldPassed returns 0 when value below min 156 Success
28 LAB_TensileRequirements_Tests test YieldPassed returns 1 when value in range 170 Success
29 M2_CarrierInstancesPasses_Tests test DeleteCarrierInstancePass deletes non-last record 237 Success
30 M2_CarrierInstancesPasses_Tests test DeleteCarrierInstancePass fails for last record 249 Success
31 M2_CarrierInstancesPasses_Tests test DeleteCarrierInstancePass fails when already deleted 212 Success
32 M2_CarrierInstancesPasses_Tests test DeleteCarrierInstancePass fails with non-existent id 163 Success
33 M2_CarrierInstancesPasses_Tests test DeleteCarrierInstancePass fails without id 140 Success
34 M2_CarrierInstancesPasses_Tests test DeleteCarrierInstancePass removes PassCampaign 295 Success
35 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes adjusts first record StartedAt 235 Success
36 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes adjusts only f<...>tedAt to InstalledAt and last EndedAt to UninstalledAt when window changes 315 Success
37 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes adjusts only first StartedAt to InstalledAt when window shifts keeping same duration 258 Success
38 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes chains EndedAt for multiple records 367 Success
39 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes does not scale single pass 216 Success
40 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes does not scale when window unchanged 274 Success
41 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes fails with non-existent CarrierInstance 152 Success
42 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes fails without CarrierInstanceId 147 Success
43 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes fails without EdgerRollPartId 126 Success
44 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes recalculates only the specified EdgerRoll leaving other rolls unchanged 249 Success
45 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes returns 0 when no records 201 Success
46 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes scales passes proportionally when window expands 280 Success
47 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes sets EndedAt to UninstalledAt for single record 225 Success
48 M2_CarrierInstancesPasses_Tests test RecalculatePassTimes sets NULL EndedAt when not uninstalled 259 Success
49 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass creates first record with InstalledAt 278 Success
50 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass creates with explicit StartedAt 298 Success
51 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass fails changing to same active pass 233 Success
52 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass fails when EdgerRoll not in Rollset 228 Success
53 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass fails with non-existent CarrierInstance 164 Success
54 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass fails with non-existent pass 118 Success
55 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass fails with StartedAt after UninstalledAt 331 Success
56 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass fails with StartedAt before InstalledAt 212 Success
57 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass fails without CarrierInstanceId 135 Success
58 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass fails without EdgerRollPartId 135 Success
59 M2_CarrierInstancesPasses_Tests test UpsertCarrierInstancePass replaces record with same StartedAt 289 Success
60 M2_CarrierProtection_Tests test DeleteArbor deactivates UniversalRoll Part 195 Success
61 M2_CarrierProtection_Tests test DeleteArbor fails when carrier status is U 261 Success
62 M2_CarrierProtection_Tests test DeleteArbor in rollset deactivates UR and rollset 191 Success
63 M2_CarrierProtection_Tests test DeleteArbor succeeds when arbor not in any universal roll 184 Success
64 M2_CarrierProtection_Tests test DeleteArbor succeeds when carrier status is X 323 Success
65 M2_CarrierProtection_Tests test DeleteArbor succeeds when rollset has no carrier 425 Success
66 M2_CarrierProtection_Tests test DeleteArbor succeeds when universal roll not in rollset 236 Success
67 M2_CarrierProtection_Tests test DeleteDonut fails when carrier status is C 159 Success
68 M2_CarrierProtection_Tests test DeleteDonut fails when carrier status is S 217 Success
69 M2_CarrierProtection_Tests test DeleteDonut in rollset updates UR and deactivates rollset 195 Success
70 M2_CarrierProtection_Tests test DeleteDonut keeps UniversalRoll active 294 Success
71 M2_CarrierProtection_Tests test DeleteDonut multiple donuts succeeds when none in active carrier 228 Success
72 M2_CarrierProtection_Tests test DeleteDonut sets UniversalRoll DonutPartId to NULL 322 Success
73 M2_CarrierProtection_Tests test DeleteDonut succeeds when carrier status is F 360 Success
74 M2_CarrierProtection_Tests test DeleteDonut succeeds when donut not in any universal roll 277 Success
75 M2_CarrierProtection_Tests test DeleteDonut succeeds when rollset has no carrier 310 Success
76 M2_CarrierProtection_Tests test DeleteDonut succeeds when universal roll not in rollset 204 Success
77 M2_CarrierProtection_Tests test DeleteRoll deactivates rollset when carrier status is E 188 Success
78 M2_CarrierProtection_Tests test DeleteRoll deactivates rollset when no carrier instance 307 Success
79 M2_CarrierProtection_Tests test DeleteRoll edger deactivates rollset when carrier status is F 273 Success
80 M2_CarrierProtection_Tests test DeleteRoll edger deactivates rollset when no carrier 240 Success
81 M2_CarrierProtection_Tests test DeleteRoll edger fails when carrier status is A 224 Success
82 M2_CarrierProtection_Tests test DeleteRoll edger fails when carrier status is I 167 Success
83 M2_CarrierProtection_Tests test DeleteRoll edger succeeds when not in any rollset 397 Success
84 M2_CarrierProtection_Tests test DeleteRoll error message contains carrier name 374 Success
85 M2_CarrierProtection_Tests test DeleteRoll error message contains CarrierInstanceId 261 Success
86 M2_CarrierProtection_Tests test DeleteRoll error message contains roll name 201 Success
87 M2_CarrierProtection_Tests test DeleteRoll fails when carrier status is A 187 Success
88 M2_CarrierProtection_Tests test DeleteRoll fails when carrier status is I 179 Success
89 M2_CarrierProtection_Tests test DeleteRoll multiple rolls fails if any in active carrier 130 Success
90 M2_CarrierProtection_Tests test DeleteRoll roll stays active when blocked 159 Success
91 M2_CarrierProtection_Tests test DeleteRoll succeeds when roll not in any rollset 425 Success
92 M2_CarrierProtection_Tests test UpsertRollset change rolls fails when in active carrier 220 Success
93 M2_CarrierProtection_Tests test UpsertRollset deactivate fails when in active carrier 528 Success
94 M2_CarrierProtection_Tests test UpsertRollset implicit deactivation fails when other in active carrier 146 Success
95 M2_CarrierProtection_Tests test UpsertRollset implicit deactivation succeeds when no carrier 375 Success
96 M2_CarrierProtection_Tests test UpsertRollset use roll from active carrier fails 250 Success
97 M2_CarrierProtection_Tests test UpsertUniversalRoll change arbor fails when in active carrier 208 Success
98 M2_CarrierProtection_Tests test UpsertUniversalRoll change arbor succeeds when carrier status E 498 Success
99 M2_CarrierProtection_Tests test UpsertUniversalRoll change arbor succeeds when no rollset 640 Success
100 M2_CarrierProtection_Tests test UpsertUniversalRoll change donut fails when in active carrier 150 Success
101 M2_CarrierProtection_Tests test UpsertUniversalRoll change donut in rollset deactivates rollset 647 Success
102 M2_CarrierProtection_Tests test UpsertUniversalRoll change donut succeeds when carrier status F 623 Success
103 M2_CarrierProtection_Tests test UpsertUniversalRoll change donut succeeds when no rollset 526 Success
104 M2_CarrierProtection_Tests test UpsertUniversalRoll remove arbor fails when in active carrier 158 Success
105 M2_CarrierProtection_Tests test UpsertUniversalRoll remove arbor succeeds when no rollset 509 Success
106 M2_CarrierProtection_Tests test UpsertUniversalRoll remove donut fails when in active carrier 346 Success
107 M2_CarrierProtection_Tests test UpsertUniversalRoll remove donut succeeds when no rollset 404 Success
108 M2_DeleteEvent_Tests test Delete: matched delete leaves no Production overlap 86 Success
109 M2_DeleteEvent_Tests test Delete: matched Production event keeps its End 102 Success
110 M2_DeleteEvent_Tests test Delete: unmatched Production event is recomputed 110 Success
111 M2_DeleteEvent_Tests test Draft: matched Production event keeps its End 82 Success
112 M2_DetectRollsetDisruption_Tests test Broken rollset alert includes roll names 220 Success
113 M2_DetectRollsetDisruption_Tests test Broken rollset alert uses past tense 233 Success
114 M2_DetectRollsetDisruption_Tests test Default diameter tolerance is zero 229 Success
115 M2_DetectRollsetDisruption_Tests test Diameter mismatch alert created when exceeds tolerance 300 Success
116 M2_DetectRollsetDisruption_Tests test Diameter mismatch alert has no mm unit 283 Success
117 M2_DetectRollsetDisruption_Tests test Diameter tolerance from catSettings 175 Success
118 M2_DetectRollsetDisruption_Tests test Disruption created when affected rollsets exist 171 Success
119 M2_DetectRollsetDisruption_Tests test Handles missing diameter data gracefully 249 Success
120 M2_DetectRollsetDisruption_Tests test Multiple affected rollsets create multiple alerts 232 Success
121 M2_DetectRollsetDisruption_Tests test Multiple alert types created in single disruption 245 Success
122 M2_DetectRollsetDisruption_Tests test No diameter alert when within tolerance 171 Success
123 M2_DetectRollsetDisruption_Tests test No disruption created when no conflicts exist 249 Success
124 M2_DetectRollsetDisruption_Tests test No orphans stored for Swap action 257 Success
125 M2_DetectRollsetDisruption_Tests test No position swap alert for Any position roll 147 Success
126 M2_DetectRollsetDisruption_Tests test No position swap alert when position matches 259 Success
127 M2_DetectRollsetDisruption_Tests test Orphaned rolls identified when breaking rollset 200 Success
128 M2_DetectRollsetDisruption_Tests test Orphans linked to correct RollsetBrokenAlert 237 Success
129 M2_DetectRollsetDisruption_Tests test Orphans stored for Create action 163 Success
130 M2_DetectRollsetDisruption_Tests test Orphans stored for Mix action 208 Success
131 M2_DetectRollsetDisruption_Tests test Position swap alert created for Bottom to Top 203 Success
132 M2_DetectRollsetDisruption_Tests test Position swap alert created for Top to Bottom 130 Success
133 M2_DetectRollsetDisruption_Tests test Position swap alert uses past tense 168 Success
134 M2_DetectRollsetDisruption_Tests test PrevRollsetId adds rollset to affected list 200 Success
135 M2_DetectRollsetDisruption_Tests test PrevRollsetId creates orphans from previous rollset 171 Success
136 M2_DetectRollsetDisruption_Tests test RollsetBrokenAlerts populated for affected rollsets 273 Success
137 M2_DetectRollsetDisruption_Tests test RollshopAlert always created even without alerts 151 Success
138 M2_DetectRollsetDisruption_Tests test RollshopAlert default StatusCode is P 196 Success
139 M2_DetectRollsetDisruption_Tests test RollshopAlert has CreatedBy populated 139 Success
140 M2_DisruptionTracking_Tests test AcknowledgeNotification: Error when already acknowledged 147 Success
141 M2_DisruptionTracking_Tests test AcknowledgeNotification: Status changes from P to A 204 Success
142 M2_DisruptionTracking_Tests test Detection: Diameter mismatch alert created when difference exceeds tolerance 453 Success
143 M2_DisruptionTracking_Tests test Detection: Multiple affected rollsets identified 627 Success
144 M2_DisruptionTracking_Tests test Detection: Multiple orphaned rolls identified 561 Success
145 M2_DisruptionTracking_Tests test Detection: No diameter alert when within tolerance 574 Success
146 M2_DisruptionTracking_Tests test Detection: Position swap alert created for Bottom to Top 785 Success
147 M2_DisruptionTracking_Tests test Detection: Position swap alert created for Top to Bottom 564 Success
148 M2_DisruptionTracking_Tests test Detection: Single affected rollset identified 474 Success
149 M2_DisruptionTracking_Tests test Detection: Single orphaned roll identified 413 Success
150 M2_DisruptionTracking_Tests test ErrorHandling: Rollset created even if detection fails 512 Success
151 M2_DisruptionTracking_Tests test Integration: Multiple alert types in one disruption 358 Success
152 M2_DisruptionTracking_Tests test UpsertRollset: ActionTypeCode C recorded correctly 368 Success
153 M2_DisruptionTracking_Tests test UpsertRollset: ActionTypeCode M recorded correctly 483 Success
154 M2_DisruptionTracking_Tests test UpsertRollset: ActionTypeCode S recorded correctly 361 Success
155 M2_DisruptionTracking_Tests test UpsertRollset: Default ActionTypeCode is C 421 Success
156 M2_DraftEvents_Tests test ConfirmEvents: Deletes Main events not in active Draft 134 Success
157 M2_DraftEvents_Tests test ConfirmEvents: Error when ConfirmUntilEventId not found 123 Success
158 M2_DraftEvents_Tests test ConfirmEvents: Inserts new Draft events to Main 217 Success
159 M2_DraftEvents_Tests test ConfirmEvents: Partial confirmation with ConfirmUntilEventId 309 Success
160 M2_DraftEvents_Tests test ConfirmEvents: Publishes Draft to Main 367 Success
161 M2_DraftEvents_Tests test DeleteEvent DeleteMode Both: Deletes from both tables 176 Success
162 M2_DraftEvents_Tests test DeleteEvent DeleteMode Both: Error when not found in Draft 113 Success
163 M2_DraftEvents_Tests test DeleteEvent DeleteMode Both: Error when not found in Main 143 Success
164 M2_DraftEvents_Tests test DeleteEvent DeleteMode Both: IsMatched in Draft prevents deletion 111 Success
165 M2_DraftEvents_Tests test DeleteEvent DeleteMode Both: IsMatched in Main prevents deletion 255 Success
166 M2_DraftEvents_Tests test DeleteEvent DeleteMode Default: Defaults to Main 193 Success
167 M2_DraftEvents_Tests test DeleteEvent DeleteMode Draft: Dilated event handling in Draft 194 Success
168 M2_DraftEvents_Tests test DeleteEvent DeleteMode Draft: Error when not found in Draft 77 Success
169 M2_DraftEvents_Tests test DeleteEvent DeleteMode Draft: IsMatched prevents deletion 119 Success
170 M2_DraftEvents_Tests test DeleteEvent DeleteMode Draft: Only deletes from Draft table 131 Success
171 M2_DraftEvents_Tests test DeleteEvent DeleteMode Invalid: Throws error for invalid mode 78 Success
172 M2_DraftEvents_Tests test DeleteEvent DeleteMode Main: Dilated event handling 335 Success
173 M2_DraftEvents_Tests test DeleteEvent DeleteMode Main: Error when not found in Main 137 Success
174 M2_DraftEvents_Tests test DeleteEvent DeleteMode Main: IsMatched prevents deletion 65 Success
175 M2_DraftEvents_Tests test DeleteEvent DeleteMode Main: Only deletes from Main table 122 Success
176 M2_DraftEvents_Tests test DeleteEvent: Both mode syncs delete to Draft 131 Success
177 M2_DraftEvents_Tests test DeleteEvent: Draft mode does not affect Main 86 Success
178 M2_DraftEvents_Tests test DeleteEvent: Error when EventId not found in Draft 276 Success
179 M2_DraftEvents_Tests test DeleteEvent: Error when EventId not found in Main 73 Success
180 M2_DraftEvents_Tests test DeleteEvent: Error when IsMatched = 1 in Draft mode 95 Success
181 M2_DraftEvents_Tests test DeleteEvent: Error when IsMatched = 1 119 Success
182 M2_DraftEvents_Tests test Edge: ConfirmEvents when already in sync 192 Success
183 M2_DraftEvents_Tests test Edge: Multiple Production events sync correctly 218 Success
184 M2_DraftEvents_Tests test Edge: ResetDraft with empty Main clears Draft 218 Success
185 M2_DraftEvents_Tests test Isolation: Draft and Main can differ 196 Success
186 M2_DraftEvents_Tests test Isolation: Draft changes do not affect Main 192 Success
187 M2_DraftEvents_Tests test MergeToDraft: All production fields sync correctly 289 Success
188 M2_DraftEvents_Tests test MergeToDraft: DELETE soft-deletes in Draft 118 Success
189 M2_DraftEvents_Tests test MergeToDraft: Error when EventId not found 140 Success
190 M2_DraftEvents_Tests test MergeToDraft: Fixed event copies Start/End exactly 140 Success
191 M2_DraftEvents_Tests test MergeToDraft: New Fixed event creates in Draft with cascade 213 Success
192 M2_DraftEvents_Tests test MergeToDraft: Reactivates inactive Draft event on Main update 393 Success
193 M2_DraftEvents_Tests test ResetDraft: Deletes Draft-only events 237 Success
194 M2_DraftEvents_Tests test ResetDraft: Inserts Main-only events to Draft 180 Success
195 M2_DraftEvents_Tests test ResetDraft: Restores Draft from Main 282 Success
196 M2_DraftEvents_Tests test Sync Scenario: Different ScheduledRollingHours in Main and Draft 234 Success
197 M2_DraftEvents_Tests test Sync Scenario: Different Start times preserved until confirmed 247 Success
198 M2_DraftEvents_Tests test Sync Scenario: Different StatusCode in Main and Draft 187 Success
199 M2_DraftEvents_Tests test Sync Scenario: Event active in Main but inactive in Draft 198 Success
200 M2_DraftEvents_Tests test Sync Scenario: Event exists only in Draft 171 Success
201 M2_DraftEvents_Tests test Sync Scenario: Event exists only in Main 352 Success
202 M2_DraftEvents_Tests test Sync Scenario: IsMatched in Main but not in Draft 155 Success
203 M2_DraftEvents_Tests test Sync Scenario: MergeToDraft preserves Draft Start 208 Success
204 M2_DraftEvents_Tests test SyncCampaigns: Creates event in both Main and Draft 406 Success
205 M2_DraftEvents_Tests test SyncDelete: Delete Both then resync recreates both 408 Success
206 M2_DraftEvents_Tests test SyncDelete: Delete Draft preserves Main state 290 Success
207 M2_DraftEvents_Tests test SyncDelete: Delete Draft then resync restores Draft via MergeToDraft 540 Success
208 M2_DraftEvents_Tests test SyncDelete: Delete Main preserves Draft state independently 389 Success
209 M2_DraftEvents_Tests test SyncDelete: Delete Main then resync recreates Main 616 Success
210 M2_DraftEvents_Tests test SyncDelete: IsMatched prevents delete in all modes 282 Success
211 M2_DraftEvents_Tests test UpsertDraftEvent: Create Downtime in Draft 115 Success
212 M2_DraftEvents_Tests test UpsertDraftEvent: Create Holiday only in Draft 119 Success
213 M2_DraftEvents_Tests test UpsertDraftEvent: Create Maintenance in Draft 812 Success
214 M2_DraftEvents_Tests test UpsertDraftEvent: Error when Start is NULL 102 Success
215 M2_DraftEvents_Tests test UpsertDraftProductionEvent: Error when SectionId missing 127 Success
216 M2_DraftEvents_Tests test UpsertDraftProductionEvent: IsMatched allows non-date changes 227 Success
217 M2_DraftEvents_Tests test UpsertDraftProductionEvent: IsMatched prevents date changes 221 Success
218 M2_DraftEvents_Tests test UpsertDraftProductionEvent: New event only in Draft not Main 143 Success
219 M2_DraftEvents_Tests test UpsertDraftProductionEvent: Update only affects Draft not Main 319 Success
220 M2_DraftEvents_Tests test UpsertProductionEvent: Anchor logic positions Draft event correctly 418 Success
221 M2_DraftEvents_Tests test UpsertProductionEvent: IsMatched syncs to Draft 175 Success
222 M2_DraftEvents_Tests test UpsertProductionEvent: New event creates in both Main and Draft 422 Success
223 M2_DraftEvents_Tests test UpsertProductionEvent: No anchor uses Main Start for Draft 346 Success
224 M2_DraftEvents_Tests test UpsertProductionEvent: ScheduledRollingHours change recalculates Draft End 348 Success
225 M2_DraftEvents_Tests test UpsertProductionEvent: Update syncs fields to Draft but not Start 253 Success
226 M2_EdgerRollPass_Tests test UpsertEdgerRollPass adds first pass with defaults 86 Success
227 M2_EdgerRollPass_Tests test UpsertEdgerRollPass adds pass as not diagonal by default 86 Success
228 M2_EdgerRollPass_Tests test UpsertEdgerRollPass adds sequential passes up to 4 103 Success
229 M2_EdgerRollPass_Tests test UpsertEdgerRollPass clears the diagonal on all the passes 149 Success
230 M2_EdgerRollPass_Tests test UpsertEdgerRollPass fails with inactive PartId 109 Success
231 M2_EdgerRollPass_Tests test UpsertEdgerRollPass fails with invalid PassNumber 95 Success
232 M2_EdgerRollPass_Tests test UpsertEdgerRollPass fails with invalid PassStatusCode 120 Success
233 M2_EdgerRollPass_Tests test UpsertEdgerRollPass fails with non-EdgerRoll Part 70 Success
234 M2_EdgerRollPass_Tests test UpsertEdgerRollPass fails with non-existent PartId 91 Success
235 M2_EdgerRollPass_Tests test UpsertEdgerRollPass keeps IsDiagonal when not provided 110 Success
236 M2_EdgerRollPass_Tests test UpsertEdgerRollPass marks all the passes as diagonal 90 Success
237 M2_EdgerRollPass_Tests test UpsertEdgerRollPass returns PassNumber on update 77 Success
238 M2_EdgerRollPass_Tests test UpsertEdgerRollPass updates IsDiagonal on a single pass 85 Success
239 M2_EdgerRollPass_Tests test UpsertEdgerRollPass updates status to Damaged 94 Success
240 M2_EdgerRollPass_Tests test UpsertEdgerRollPass updates status to Used 111 Success
241 M2_EventErrorHandling_Tests test Cascade: Max cascade iterations throws descriptive error 173 Success
242 M2_EventErrorHandling_Tests test Cascade: Max Fixed resolution iterations throws descriptive error 283 Success
243 M2_EventErrorHandling_Tests test Compaction: Max iterations throws descriptive error 107 Success
244 M2_EventErrorHandling_Tests test Defaults: PreProcessEvent uses fallback limit 195 Success
245 M2_EventErrorHandling_Tests test ErrorMessage: Clean extraction removes technical context 195 Success
246 M2_EventErrorHandling_Tests test PreProcess: Error message contains context information 91 Success
247 M2_EventErrorHandling_Tests test PreProcess: Max iterations reached throws descriptive error 118 Success
248 M2_EventErrorHandling_Tests test Transaction: UpsertEvent rollback on PreProcess error 332 Success
249 M2_EventErrorHandling_Tests test Transaction: UpsertProductionEvent rollback on validation error 99 Success
250 M2_EventIntegration_Tests test Cascade: Long chain with intercalated Fixed 698 Success
251 M2_EventIntegration_Tests test Cascade: Stress test 10 consecutive events 521 Success
252 M2_EventIntegration_Tests test Compact: Blocked by Fixed event 548 Success
253 M2_EventIntegration_Tests test Compact: Complete gap closure 498 Success
254 M2_EventIntegration_Tests test Compact: Preserves dilation downstream 484 Success
255 M2_EventIntegration_Tests test Complex: BaseDuration preserved through complete cycle 618 Success
256 M2_EventIntegration_Tests test Complex: Complete production schedule with Fixed events 670 Success
257 M2_EventIntegration_Tests test Complex: Update triggers cascade and compaction 702 Success
258 M2_EventIntegration_Tests test Create: Production with minimal fields 412 Success
259 M2_EventIntegration_Tests test EdgeCase: Production spans midnight 507 Success
260 M2_EventIntegration_Tests test EdgeCase: Very long BaseDuration 24h 594 Success
261 M2_EventIntegration_Tests test EdgeCase: Very short BaseDuration 5min 430 Success
262 M2_EventIntegration_Tests test Insert: Fixed between Productions cascades 701 Success
263 M2_EventIntegration_Tests test PreProcess: Multiple consecutive Fixed events MOVE 457 Success
264 M2_EventIntegration_Tests test PreProcess: Overlapping Fixed events smart dilation 506 Success
265 M2_EventIntegration_Tests test PreProcess: Production vs Production MOVE 404 Success
266 M2_EventIntegration_Tests test STEP4: Shrinking Fixed readjusts dilated Production 419 Success
267 M2_EventIntegration_Tests test Update: Change Production SectionId 455 Success
268 M2_EventIntegration_Tests test Update: Moving Fixed triggers cascade 579 Success
269 M2_EventIntegration_Tests test Update: Multiple modifications preserve BaseDuration 478 Success
270 M2_EventIntegration_Tests test Update: Multiple Production fields batch 456 Success
271 M2_EventIntegration_Tests test Update: Start moves into collision zone 477 Success
272 M2_EventIntegration_Tests test UpsertEvent: Create compatible Downtime and Maintenance 315 Success
273 M2_EventIntegration_Tests test UpsertEvent: Update Fixed event adjusts affected Production 642 Success
274 M2_EventIntegration_Tests test UpsertProductionEvent: Auto-moves after Holiday 601 Success
275 M2_EventIntegration_Tests test UpsertProductionEvent: Create with all fields populated 502 Success
276 M2_EventIntegration_Tests test UpsertProductionEvent: Dilates around Downtime 405 Success
277 M2_EventIntegration_Tests test UpsertProductionEvent: Update preserves BaseDuration 496 Success
278 M2_EventIntegration_Tests test Validation: Downtime vs Downtime overlap is allowed 250 Success
279 M2_EventIntegration_Tests test Validation: Downtime vs Holiday overlap is allowed 155 Success
280 M2_EventIntegration_Tests test Validation: End before Start throws error 136 Success
281 M2_EventIntegration_Tests test Validation: Holiday vs Holiday overlap is allowed 180 Success
282 M2_EventIntegration_Tests test Validation: Invalid EventTypeCode error 104 Success
283 M2_EventIntegration_Tests test Validation: Invalid SectionId throws error 190 Success
284 M2_EventIntegration_Tests test Workflow: StatusCode P to I to C progression 585 Success
285 M2_GetCampaignsByEventId_Tests test RECONCILE #2258: apportioned detail sums to month and campaign totals 228 Success
286 M2_GetCampaignsByEventId_Tests test RECONCILE #2258: cobbles excluded from length shares but totals reconcile 462 Success
287 M2_GetProductionMonth_Tests test ASSET ISOLATION: Mill #1 shifts are ignored by M2 39 Success
288 M2_GetProductionMonth_Tests test FALLBACK: scalar falls back to calendar month when no shift 16 Success
289 M2_GetProductionMonth_Tests test HALF-OPEN: boundary instant belongs to the next shift 33 Success
290 M2_GetProductionMonth_Tests test ITVF: returns no row when no shift covers the instant 21 Success
291 M2_GetProductionMonth_Tests test SHIFT-ALIGNED: Feb-calendar instant in a Jan-ProductionDate shift returns January 29 Success
292 M2_GetProductionMonth_Tests test SHIFT-ALIGNED: Jan-calendar instant in a Feb-ProductionDate shift returns February 33 Success
293 M2_NonProductiveOverlap_Tests test Dilation: Production dilates by the union of D M H 100 Success
294 M2_NonProductiveOverlap_Tests test Merge: chained events collapse into one island 53 Success
295 M2_NonProductiveOverlap_Tests test Merge: contained event adds no extra time 74 Success
296 M2_NonProductiveOverlap_Tests test Merge: disjoint events are summed 135 Success
297 M2_NonProductiveOverlap_Tests test Merge: inactive events are ignored 54 Success
298 M2_NonProductiveOverlap_Tests test Merge: intervals are clipped to the window 60 Success
299 M2_NonProductiveOverlap_Tests test Merge: partial overlap counts the union once 53 Success
300 M2_NonProductiveOverlap_Tests test Merge: Production events are excluded 54 Success
301 M2_NonProductiveOverlap_Tests test Merge: two overlapping Holidays count once 65 Success
302 M2_NonProductiveOverlap_Tests test ScheduledEnd: stretches by the union of D M H 54 Success
303 M2_PassCampaigns_Tests test GetPassCampaignData fails with invalid time range 198 Success
304 M2_PassCampaigns_Tests test GetPassCampaignData fails without EdgerRollPartId 231 Success
305 M2_PassCampaigns_Tests test GetPassCampaignData filters by PassNumber 246 Success
306 M2_PassCampaigns_Tests test GetPassCampaignData returns calculated totals 269 Success
307 M2_PassCampaigns_Tests test GetPassCampaignData returns data for EdgerRoll 465 Success
308 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets fails with deleted pass 298 Success
309 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets fails with non-existent id 437 Success
310 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets fails without any offset 259 Success
311 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets fails without id 209 Success
312 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets returns correct id 275 Success
313 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets updates multiple offsets 440 Success
314 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets updates OffsetBillets 417 Success
315 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets updates OffsetLength 382 Success
316 M2_PassCampaigns_Tests test UpdatePassCampaignOffsets updates OffsetWeight 317 Success
317 M2_ResolveEventCollisions_Tests test Cascade: Five event cascade chain 172 Success
318 M2_ResolveEventCollisions_Tests test Cascade: Last event collides with Fixed 108 Success
319 M2_ResolveEventCollisions_Tests test Cascade: Middle event already dilated 163 Success
320 M2_ResolveEventCollisions_Tests test Cascade: Moving Production pushes subsequent Production events 136 Success
321 M2_ResolveEventCollisions_Tests test Cascade: Production cascade blocked by Fixed wall 65 Success
322 M2_ResolveEventCollisions_Tests test Cascade: Production pushes another Production around Fixed event 94 Success
323 M2_ResolveEventCollisions_Tests test Cascade: Productions with large gaps between them 163 Success
324 M2_ResolveEventCollisions_Tests test Complex: Production DILATE then CASCADE another dilated Production 136 Success
325 M2_ResolveEventCollisions_Tests test Complex: Production DILATE through overlapping Downtime and Maintenance 105 Success
326 M2_ResolveEventCollisions_Tests test Edge: Event with minimum duration one minute 45 Success
327 M2_ResolveEventCollisions_Tests test Edge: Event with very long duration spans days 33 Success
328 M2_ResolveEventCollisions_Tests test Edge: Multiple events same start different durations 62 Success
329 M2_ResolveEventCollisions_Tests test Edge: Production ending exactly at Fixed start has no collision 79 Success
330 M2_ResolveEventCollisions_Tests test Edge: Production one second after Fixed has no collision 63 Success
331 M2_ResolveEventCollisions_Tests test Edge: Production one second before Fixed has no collision 62 Success
332 M2_ResolveEventCollisions_Tests test Edge: Production with no collisions remains unchanged 54 Success
333 M2_ResolveEventCollisions_Tests test Fixed: every D M H overlap combination is allowed 66 Success
334 M2_ResolveEventCollisions_Tests test O1: Multiple Other events can overlap 37 Success
335 M2_ResolveEventCollisions_Tests test O1: Other does not collide with Holiday 150 Success
336 M2_ResolveEventCollisions_Tests test O1: Other does not collide with Production 37 Success
337 M2_ResolveEventCollisions_Tests test O1: Production not affected by Other event 25 Success
338 M2_ResolveEventCollisions_Tests test P1: Multiple Productions overlapping simultaneously 53 Success
339 M2_ResolveEventCollisions_Tests test P1: Production completely contained moves after 41 Success
340 M2_ResolveEventCollisions_Tests test P1: Production containing existing moves after 49 Success
341 M2_ResolveEventCollisions_Tests test P1: Production moves after existing Production when S < NS 120 Success
342 M2_ResolveEventCollisions_Tests test P1: Production with same start time moves after existing 69 Success
343 M2_ResolveEventCollisions_Tests test P2: Production completely inside Fixed MOVES after 94 Success
344 M2_ResolveEventCollisions_Tests test P2: Production DILATE around Fixed when NS < S 95 Success
345 M2_ResolveEventCollisions_Tests test P2: Production DILATE through contiguous Fixed events 54 Success
346 M2_ResolveEventCollisions_Tests test P2: Production DILATE through Fixed events with variable gaps 49 Success
347 M2_ResolveEventCollisions_Tests test P2: Production DILATE through four consecutive Fixed events 62 Success
348 M2_ResolveEventCollisions_Tests test P2: Production DILATE through mixed Fixed event types 37 Success
349 M2_ResolveEventCollisions_Tests test P2: Production DILATE through multiple Holidays 63 Success
350 M2_ResolveEventCollisions_Tests test P2: Production DILATE through overlapping Fixed events without double counting 41 Success
351 M2_ResolveEventCollisions_Tests test P2: Production DILATE through three Fixed events with gaps 61 Success
352 M2_ResolveEventCollisions_Tests test P2: Production DILATE with Fixed ending at exact original P_End 67 Success
353 M2_ResolveEventCollisions_Tests test P2: Production MOVE after Fixed when S <= NS 104 Success
354 M2_ResolveEventCollisions_Tests test P2: Production MOVE then DILATE in sequence 57 Success
355 M2_ResolveEventCollisions_Tests test P2: Production starting at Fixed end has no collision 48 Success
356 M2_ResolveEventCollisions_Tests test P2: Production with Fixed starting at exact P_Start MOVES 29 Success
357 M2_ResolveEventCollisions_Tests test P2: Short Production DILATE through long Fixed event 58 Success
358 M2_ResolveEventCollisions_Tests test Stress: High density Fixed events 12 in 2 hours 66 Success
359 M2_ResolveEventCollisions_Tests test Stress: Multi-day Production through multiple Fixed events 99 Success
360 M2_ResolveEventCollisions_Tests test Update: Event excludes itself from collision detection 317 Success
361 M2_ResolveEventCollisions_Tests test Update: Event in middle of dilated chain 74 Success
362 M2_ResolveEventCollisions_Tests test Update: Fixed event moved away from collision 36 Success
363 M2_ResolveEventCollisions_Tests test Update: Production BaseDuration increased significantly 168 Success
364 M2_ResolveEventCollisions_Tests test Update: Production BaseDuration reduced significantly 64 Success
365 M2_ScheduleCompaction_Tests test Basic: 2-event compaction moves P2 backward 194 Success
366 M2_ScheduleCompaction_Tests test Basic: 3-event compaction cascades through all events 249 Success
367 M2_ScheduleCompaction_Tests test Basic: Partial gap elimination completes gracefully 164 Success
368 M2_ScheduleCompaction_Tests test Edge: Final event encounters Fixed during compaction 124 Success
369 M2_ScheduleCompaction_Tests test Edge: Gap fully eliminated creates contiguous events 188 Success
370 M2_ScheduleCompaction_Tests test Edge: No compaction when event not shortened 90 Success
371 M2_ScheduleCompaction_Tests test Edge: No subsequent events completes immediately 94 Success
372 M2_ScheduleCompaction_Tests test Fixed: Compaction DILATE around Fixed event 119 Success
373 M2_ScheduleCompaction_Tests test Fixed: Compaction MOVE after Fixed event 90 Success
374 M2_ScheduleCompaction_Tests test Fixed: Compaction MOVE then DILATE sequence 113 Success
375 M2_ScheduleCompaction_Tests test Fixed: Compaction stops when Fixed blocks entire remaining gap 124 Success
376 M2_ScheduleCompaction_Tests test Fixed: Compaction through mixed Fixed event types 103 Success
377 M2_ScheduleCompaction_Tests test Fixed: Compaction through multiple consecutive Fixed events 90 Success
378 M2_ScheduleCompaction_Tests test Fixed: Compaction through overlapping Fixed events without double counting 103 Success
379 M2_ScheduleCompaction_Tests test Fixed: Fixed event at exact gap boundary causes MOVE 153 Success
380 M2_ScheduleCompaction_Tests test Gap: Middle event shortening compacts subsequent events 181 Success
381 M2_ScheduleCompaction_Tests test Gap: Variable gaps between events compact correctly 311 Success
382 M2_ScheduleCompaction_Tests test Gap: Very large gap 5 hours compacts correctly 147 Success
383 M2_ScheduleCompaction_Tests test Gap: Very small gap 3 minutes compacts correctly 261 Success
384 M2_ScheduleCompaction_Tests test Integration: CompactSchedule disabled skips compaction 177 Success
385 M2_ScheduleCompaction_Tests test Integration: UpsertEvent skips compaction with blocking events 260 Success
386 M2_ScheduleCompaction_Tests test Integration: UpsertEvent triggers compaction on shortening 190 Success
387 M2_SwapRollsetsRolls_Tests test Error: BottomRollId1 is required 235 Success
388 M2_SwapRollsetsRolls_Tests test Error: BottomRollId2 does not exist in Rolls table 141 Success
389 M2_SwapRollsetsRolls_Tests test Error: BottomRollId2 required when RollsetId2 provided 73 Success
390 M2_SwapRollsetsRolls_Tests test Error: Cannot swap rollsets in different sections 185 Success
391 M2_SwapRollsetsRolls_Tests test Error: Cannot swap rollsets in different stands 131 Success
392 M2_SwapRollsetsRolls_Tests test Error: Rollset1 must have both rolls assigned 193 Success
393 M2_SwapRollsetsRolls_Tests test Error: RollsetId1 and RollsetId2 must be different 90 Success
394 M2_SwapRollsetsRolls_Tests test Error: RollsetId1 does not exist 164 Success
395 M2_SwapRollsetsRolls_Tests test Error: RollsetId1 is required 94 Success
396 M2_SwapRollsetsRolls_Tests test Error: RollsetId2 does not exist 168 Success
397 M2_SwapRollsetsRolls_Tests test Error: TopRollId1 does not exist in Rolls table 131 Success
398 M2_SwapRollsetsRolls_Tests test Error: TopRollId1 is required 110 Success
399 M2_SwapRollsetsRolls_Tests test Error: TopRollId2 required when RollsetId2 provided 317 Success
400 M2_SwapRollsetsRolls_Tests test Success: Create new rollset with specified rolls 390 Success
401 M2_SwapRollsetsRolls_Tests test Success: Swap rolls between two rollsets 418 Success
402 M2_SwapRollsetsRolls_Tests test Success: Use any valid rolls 422 Success
403 M2_SyncCampaignsToProductionEvents_Tests test CASCADE: Chain stops at matched barrier 407 Success
404 M2_SyncCampaignsToProductionEvents_Tests test CASCADE: Matched events are immovable barriers 266 Success
405 M2_SyncCampaignsToProductionEvents_Tests test CASCADE: Updating IsMatched prevents future cascade 258 Success
406 M2_SyncCampaignsToProductionEvents_Tests test COMPLEX: Multiple section changes create multiple events 546 Success
407 M2_SyncCampaignsToProductionEvents_Tests test COMPLEX: ResolveEventCascade called for each group 451 Success
408 M2_SyncCampaignsToProductionEvents_Tests test COMPLEX: StatusCode K preserved when updating 135 Success
409 M2_SyncCampaignsToProductionEvents_Tests test EDGE CASE: Date filters work correctly 241 Success
410 M2_SyncCampaignsToProductionEvents_Tests test EDGE CASE: Empty campaigns table produces no events 271 Success
411 M2_SyncCampaignsToProductionEvents_Tests test EDGE CASE: No campaigns returns gracefully 131 Success
412 M2_SyncCampaignsToProductionEvents_Tests test FIXED: Dilates unmatched but not matched 193 Success
413 M2_SyncCampaignsToProductionEvents_Tests test FIXED: Does not dilate matched events 258 Success
414 M2_SyncCampaignsToProductionEvents_Tests test GROUPING: Consecutive campaigns same section create single event 304 Success
415 M2_SyncCampaignsToProductionEvents_Tests test GROUPING: Section change creates separate events 344 Success
416 M2_SyncCampaignsToProductionEvents_Tests test GROUPING: Single campaign creates single event 316 Success
417 M2_SyncCampaignsToProductionEvents_Tests test ISMATCHED: Last group updates status P to I when matched 239 Success
418 M2_SyncCampaignsToProductionEvents_Tests test ISMATCHED: Matched event updated with IsMatched = 1 171 Success
419 M2_SyncCampaignsToProductionEvents_Tests test ISMATCHED: New event created with IsMatched = 1 375 Success
420 M2_SyncCampaignsToProductionEvents_Tests test ISMATCHED: Prevents duplicate events on resync 237 Success
421 M2_SyncCampaignsToProductionEvents_Tests test ISMATCHED: Unmatched future event matched in next run 238 Success
422 M2_SyncCampaignsToProductionEvents_Tests test LINKING: All campaigns in group linked to same event 381 Success
423 M2_SyncCampaignsToProductionEvents_Tests test LINKING: EventId preserved for already-linked campaigns 181 Success
424 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Closest match selected when multiple exist 209 Success
425 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Event expands with campaigns 209 Success
426 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Event times adjust to campaigns 284 Success
427 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Exact temporal overlap matches event 292 Success
428 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Fallback respects section 487 Success
429 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Fallback to next unmatched same section 384 Success
430 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Inactive events not matched 303 Success
431 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: New event created when no match found 291 Success
432 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Proximity window 48h enforced 278 Success
433 M2_SyncCampaignsToProductionEvents_Tests test MATCHING: Proximity window matches close event 196 Success
434 M2_SyncCampaignsToProductionEvents_Tests test SMART START: First sync detects production run start 237 Success
435 M2_SyncCampaignsToProductionEvents_Tests test SMART START: Mixed matched and unmatched timeline 369 Success
436 M2_SyncCampaignsToProductionEvents_Tests test SMART START: Second sync continues from last matched event 316 Success
437 M2_SyncCampaignsToProductionEvents_Tests test SPLIT #2258: cross-month event gets one PEA row per production month 430 Success
438 M2_SyncCampaignsToProductionEvents_Tests test SPLIT #2258: resync does not duplicate PEA EventMonth rows 507 Success
439 M2_SyncCampaignsToProductionEvents_Tests test TIMESTAMPS: Continuity maintained between groups 258 Success
440 M2_SyncCampaignsToProductionEvents_Tests test TIMESTAMPS: FirstBilletTimestamp is first campaign start 373 Success
441 M2_SyncCampaignsToProductionEvents_Tests test TIMESTAMPS: TrackedEnd is last campaign end 257 Success
442 M2_TrackPassCampaignsJob_Tests test TrackPassCampaignsJob calculates cumulative start values 261 Success
443 M2_TrackPassCampaignsJob_Tests test TrackPassCampaignsJob calculates metrics from billets 209 Success
444 M2_TrackPassCampaignsJob_Tests test TrackPassCampaignsJob creates new campaign 302 Success
445 M2_TrackPassCampaignsJob_Tests test TrackPassCampaignsJob only counts billets in time range 303 Success
446 M2_TrackPassCampaignsJob_Tests test TrackPassCampaignsJob preserves offset values 372 Success
447 M2_TrackPassCampaignsJob_Tests test TrackPassCampaignsJob skips deleted carriers 225 Success
448 M2_TrackPassCampaignsJob_Tests test TrackPassCampaignsJob skips inactive passes 308 Success
449 M2_TrackPassCampaignsJob_Tests test TrackPassCampaignsJob updates existing campaign 238 Success

Raw Output Tail

|374|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction MOVE then DILATE sequence]                                                                           |    113|Success|
|375|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction stops when Fixed blocks entire remaining gap]                                                        |    124|Success|
|376|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction through mixed Fixed event types]                                                                     |    103|Success|
|377|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction through multiple consecutive Fixed events]                                                           |     90|Success|
|378|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction through overlapping Fixed events without double counting]                                            |    103|Success|
|379|[M2_ScheduleCompaction_Tests].[test Fixed: Fixed event at exact gap boundary causes MOVE]                                                                  |    153|Success|
|380|[M2_ScheduleCompaction_Tests].[test Gap: Middle event shortening compacts subsequent events]                                                               |    181|Success|
|381|[M2_ScheduleCompaction_Tests].[test Gap: Variable gaps between events compact correctly]                                                                   |    311|Success|
|382|[M2_ScheduleCompaction_Tests].[test Gap: Very large gap 5 hours compacts correctly]                                                                        |    147|Success|
|383|[M2_ScheduleCompaction_Tests].[test Gap: Very small gap 3 minutes compacts correctly]                                                                      |    261|Success|
|384|[M2_ScheduleCompaction_Tests].[test Integration: CompactSchedule disabled skips compaction]                                                                |    177|Success|
|385|[M2_ScheduleCompaction_Tests].[test Integration: UpsertEvent skips compaction with blocking events]                                                        |    260|Success|
|386|[M2_ScheduleCompaction_Tests].[test Integration: UpsertEvent triggers compaction on shortening]                                                            |    190|Success|
|387|[M2_SwapRollsetsRolls_Tests].[test Error: BottomRollId1 is required]                                                                                       |    235|Success|
|388|[M2_SwapRollsetsRolls_Tests].[test Error: BottomRollId2 does not exist in Rolls table]                                                                     |    141|Success|
|389|[M2_SwapRollsetsRolls_Tests].[test Error: BottomRollId2 required when RollsetId2 provided]                                                                 |     73|Success|
|390|[M2_SwapRollsetsRolls_Tests].[test Error: Cannot swap rollsets in different sections]                                                                      |    185|Success|
|391|[M2_SwapRollsetsRolls_Tests].[test Error: Cannot swap rollsets in different stands]                                                                        |    131|Success|
|392|[M2_SwapRollsetsRolls_Tests].[test Error: Rollset1 must have both rolls assigned]                                                                          |    193|Success|
|393|[M2_SwapRollsetsRolls_Tests].[test Error: RollsetId1 and RollsetId2 must be different]                                                                     |     90|Success|
|394|[M2_SwapRollsetsRolls_Tests].[test Error: RollsetId1 does not exist]                                                                                       |    164|Success|
|395|[M2_SwapRollsetsRolls_Tests].[test Error: RollsetId1 is required]                                                                                          |     94|Success|
|396|[M2_SwapRollsetsRolls_Tests].[test Error: RollsetId2 does not exist]                                                                                       |    168|Success|
|397|[M2_SwapRollsetsRolls_Tests].[test Error: TopRollId1 does not exist in Rolls table]                                                                        |    131|Success|
|398|[M2_SwapRollsetsRolls_Tests].[test Error: TopRollId1 is required]                                                                                          |    110|Success|
|399|[M2_SwapRollsetsRolls_Tests].[test Error: TopRollId2 required when RollsetId2 provided]                                                                    |    317|Success|
|400|[M2_SwapRollsetsRolls_Tests].[test Success: Create new rollset with specified rolls]                                                                       |    390|Success|
|401|[M2_SwapRollsetsRolls_Tests].[test Success: Swap rolls between two rollsets]                                                                               |    418|Success|
|402|[M2_SwapRollsetsRolls_Tests].[test Success: Use any valid rolls]                                                                                           |    422|Success|
|403|[M2_SyncCampaignsToProductionEvents_Tests].[test CASCADE: Chain stops at matched barrier]                                                                  |    407|Success|
|404|[M2_SyncCampaignsToProductionEvents_Tests].[test CASCADE: Matched events are immovable barriers]                                                           |    266|Success|
|405|[M2_SyncCampaignsToProductionEvents_Tests].[test CASCADE: Updating IsMatched prevents future cascade]                                                      |    258|Success|
|406|[M2_SyncCampaignsToProductionEvents_Tests].[test COMPLEX: Multiple section changes create multiple events]                                                 |    546|Success|
|407|[M2_SyncCampaignsToProductionEvents_Tests].[test COMPLEX: ResolveEventCascade called for each group]                                                       |    451|Success|
|408|[M2_SyncCampaignsToProductionEvents_Tests].[test COMPLEX: StatusCode K preserved when updating]                                                            |    135|Success|
|409|[M2_SyncCampaignsToProductionEvents_Tests].[test EDGE CASE: Date filters work correctly]                                                                   |    241|Success|
|410|[M2_SyncCampaignsToProductionEvents_Tests].[test EDGE CASE: Empty campaigns table produces no events]                                                      |    271|Success|
|411|[M2_SyncCampaignsToProductionEvents_Tests].[test EDGE CASE: No campaigns returns gracefully]                                                               |    131|Success|
|412|[M2_SyncCampaignsToProductionEvents_Tests].[test FIXED: Dilates unmatched but not matched]                                                                 |    193|Success|
|413|[M2_SyncCampaignsToProductionEvents_Tests].[test FIXED: Does not dilate matched events]                                                                    |    258|Success|
|414|[M2_SyncCampaignsToProductionEvents_Tests].[test GROUPING: Consecutive campaigns same section create single event]                                         |    304|Success|
|415|[M2_SyncCampaignsToProductionEvents_Tests].[test GROUPING: Section change creates separate events]                                                         |    344|Success|
|416|[M2_SyncCampaignsToProductionEvents_Tests].[test GROUPING: Single campaign creates single event]                                                           |    316|Success|
|417|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: Last group updates status P to I when matched]                                                 |    239|Success|
|418|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: Matched event updated with IsMatched = 1]                                                      |    171|Success|
|419|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: New event created with IsMatched = 1]                                                          |    375|Success|
|420|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: Prevents duplicate events on resync]                                                           |    237|Success|
|421|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: Unmatched future event matched in next run]                                                    |    238|Success|
|422|[M2_SyncCampaignsToProductionEvents_Tests].[test LINKING: All campaigns in group linked to same event]                                                     |    381|Success|
|423|[M2_SyncCampaignsToProductionEvents_Tests].[test LINKING: EventId preserved for already-linked campaigns]                                                  |    181|Success|
|424|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Closest match selected when multiple exist]                                                     |    209|Success|
|425|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Event expands with campaigns]                                                                   |    209|Success|
|426|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Event times adjust to campaigns]                                                                |    284|Success|
|427|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Exact temporal overlap matches event]                                                           |    292|Success|
|428|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Fallback respects section]                                                                      |    487|Success|
|429|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Fallback to next unmatched same section]                                                        |    384|Success|
|430|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Inactive events not matched]                                                                    |    303|Success|
|431|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: New event created when no match found]                                                          |    291|Success|
|432|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Proximity window 48h enforced]                                                                  |    278|Success|
|433|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Proximity window matches close event]                                                           |    196|Success|
|434|[M2_SyncCampaignsToProductionEvents_Tests].[test SMART START: First sync detects production run start]                                                     |    237|Success|
|435|[M2_SyncCampaignsToProductionEvents_Tests].[test SMART START: Mixed matched and unmatched timeline]                                                        |    369|Success|
|436|[M2_SyncCampaignsToProductionEvents_Tests].[test SMART START: Second sync continues from last matched event]                                               |    316|Success|
|437|[M2_SyncCampaignsToProductionEvents_Tests].[test SPLIT #2258: cross-month event gets one PEA row per production month]                                     |    430|Success|
|438|[M2_SyncCampaignsToProductionEvents_Tests].[test SPLIT #2258: resync does not duplicate PEA EventMonth rows]                                               |    507|Success|
|439|[M2_SyncCampaignsToProductionEvents_Tests].[test TIMESTAMPS: Continuity maintained between groups]                                                         |    258|Success|
|440|[M2_SyncCampaignsToProductionEvents_Tests].[test TIMESTAMPS: FirstBilletTimestamp is first campaign start]                                                 |    373|Success|
|441|[M2_SyncCampaignsToProductionEvents_Tests].[test TIMESTAMPS: TrackedEnd is last campaign end]                                                              |    257|Success|
|442|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob calculates cumulative start values]                                                           |    261|Success|
|443|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob calculates metrics from billets]                                                              |    209|Success|
|444|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob creates new campaign]                                                                         |    302|Success|
|445|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob only counts billets in time range]                                                            |    303|Success|
|446|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob preserves offset values]                                                                      |    372|Success|
|447|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob skips deleted carriers]                                                                       |    225|Success|
|448|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob skips inactive passes]                                                                        |    308|Success|
|449|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob updates existing campaign]                                                                    |    238|Success|
--------------------------------------------------------------------------------------------
Test Case Summary: 449 test case(s) executed, 449 succeeded, 0 skipped, 0 failed, 0 errored.
--------------------------------------------------------------------------------------------