PASSED

tSQLt SQL E2E

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

Raw Output Tail

|374|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction MOVE then DILATE sequence]                                                                           |    104|Success|
|375|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction stops when Fixed blocks entire remaining gap]                                                        |    181|Success|
|376|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction through mixed Fixed event types]                                                                     |    659|Success|
|377|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction through multiple consecutive Fixed events]                                                           |    139|Success|
|378|[M2_ScheduleCompaction_Tests].[test Fixed: Compaction through overlapping Fixed events without double counting]                                            |     91|Success|
|379|[M2_ScheduleCompaction_Tests].[test Fixed: Fixed event at exact gap boundary causes MOVE]                                                                  |    119|Success|
|380|[M2_ScheduleCompaction_Tests].[test Gap: Middle event shortening compacts subsequent events]                                                               |     86|Success|
|381|[M2_ScheduleCompaction_Tests].[test Gap: Variable gaps between events compact correctly]                                                                   |    196|Success|
|382|[M2_ScheduleCompaction_Tests].[test Gap: Very large gap 5 hours compacts correctly]                                                                        |     85|Success|
|383|[M2_ScheduleCompaction_Tests].[test Gap: Very small gap 3 minutes compacts correctly]                                                                      |     80|Success|
|384|[M2_ScheduleCompaction_Tests].[test Integration: CompactSchedule disabled skips compaction]                                                                |    111|Success|
|385|[M2_ScheduleCompaction_Tests].[test Integration: UpsertEvent skips compaction with blocking events]                                                        |    162|Success|
|386|[M2_ScheduleCompaction_Tests].[test Integration: UpsertEvent triggers compaction on shortening]                                                            |    162|Success|
|387|[M2_SwapRollsetsRolls_Tests].[test Error: BottomRollId1 is required]                                                                                       |    246|Success|
|388|[M2_SwapRollsetsRolls_Tests].[test Error: BottomRollId2 does not exist in Rolls table]                                                                     |    142|Success|
|389|[M2_SwapRollsetsRolls_Tests].[test Error: BottomRollId2 required when RollsetId2 provided]                                                                 |    106|Success|
|390|[M2_SwapRollsetsRolls_Tests].[test Error: Cannot swap rollsets in different sections]                                                                      |    220|Success|
|391|[M2_SwapRollsetsRolls_Tests].[test Error: Cannot swap rollsets in different stands]                                                                        |    231|Success|
|392|[M2_SwapRollsetsRolls_Tests].[test Error: Rollset1 must have both rolls assigned]                                                                          |    149|Success|
|393|[M2_SwapRollsetsRolls_Tests].[test Error: RollsetId1 and RollsetId2 must be different]                                                                     |    242|Success|
|394|[M2_SwapRollsetsRolls_Tests].[test Error: RollsetId1 does not exist]                                                                                       |    138|Success|
|395|[M2_SwapRollsetsRolls_Tests].[test Error: RollsetId1 is required]                                                                                          |    109|Success|
|396|[M2_SwapRollsetsRolls_Tests].[test Error: RollsetId2 does not exist]                                                                                       |    196|Success|
|397|[M2_SwapRollsetsRolls_Tests].[test Error: TopRollId1 does not exist in Rolls table]                                                                        |    118|Success|
|398|[M2_SwapRollsetsRolls_Tests].[test Error: TopRollId1 is required]                                                                                          |    130|Success|
|399|[M2_SwapRollsetsRolls_Tests].[test Error: TopRollId2 required when RollsetId2 provided]                                                                    |    173|Success|
|400|[M2_SwapRollsetsRolls_Tests].[test Success: Create new rollset with specified rolls]                                                                       |    571|Success|
|401|[M2_SwapRollsetsRolls_Tests].[test Success: Swap rolls between two rollsets]                                                                               |    525|Success|
|402|[M2_SwapRollsetsRolls_Tests].[test Success: Use any valid rolls]                                                                                           |    600|Success|
|403|[M2_SyncCampaignsToProductionEvents_Tests].[test CASCADE: Chain stops at matched barrier]                                                                  |    192|Success|
|404|[M2_SyncCampaignsToProductionEvents_Tests].[test CASCADE: Matched events are immovable barriers]                                                           |    189|Success|
|405|[M2_SyncCampaignsToProductionEvents_Tests].[test CASCADE: Updating IsMatched prevents future cascade]                                                      |    175|Success|
|406|[M2_SyncCampaignsToProductionEvents_Tests].[test COMPLEX: Multiple section changes create multiple events]                                                 |    277|Success|
|407|[M2_SyncCampaignsToProductionEvents_Tests].[test COMPLEX: ResolveEventCascade called for each group]                                                       |    315|Success|
|408|[M2_SyncCampaignsToProductionEvents_Tests].[test COMPLEX: StatusCode K preserved when updating]                                                            |    173|Success|
|409|[M2_SyncCampaignsToProductionEvents_Tests].[test EDGE CASE: Date filters work correctly]                                                                   |    192|Success|
|410|[M2_SyncCampaignsToProductionEvents_Tests].[test EDGE CASE: Empty campaigns table produces no events]                                                      |    183|Success|
|411|[M2_SyncCampaignsToProductionEvents_Tests].[test EDGE CASE: No campaigns returns gracefully]                                                               |    260|Success|
|412|[M2_SyncCampaignsToProductionEvents_Tests].[test FIXED: Dilates unmatched but not matched]                                                                 |    200|Success|
|413|[M2_SyncCampaignsToProductionEvents_Tests].[test FIXED: Does not dilate matched events]                                                                    |    168|Success|
|414|[M2_SyncCampaignsToProductionEvents_Tests].[test GROUPING: Consecutive campaigns same section create single event]                                         |    385|Success|
|415|[M2_SyncCampaignsToProductionEvents_Tests].[test GROUPING: Section change creates separate events]                                                         |    278|Success|
|416|[M2_SyncCampaignsToProductionEvents_Tests].[test GROUPING: Single campaign creates single event]                                                           |    251|Success|
|417|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: Last group updates status P to I when matched]                                                 |    112|Success|
|418|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: Matched event updated with IsMatched = 1]                                                      |    169|Success|
|419|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: New event created with IsMatched = 1]                                                          |    242|Success|
|420|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: Prevents duplicate events on resync]                                                           |    272|Success|
|421|[M2_SyncCampaignsToProductionEvents_Tests].[test ISMATCHED: Unmatched future event matched in next run]                                                    |    290|Success|
|422|[M2_SyncCampaignsToProductionEvents_Tests].[test LINKING: All campaigns in group linked to same event]                                                     |    271|Success|
|423|[M2_SyncCampaignsToProductionEvents_Tests].[test LINKING: EventId preserved for already-linked campaigns]                                                  |    173|Success|
|424|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Closest match selected when multiple exist]                                                     |    312|Success|
|425|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Event expands with campaigns]                                                                   |    249|Success|
|426|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Event times adjust to campaigns]                                                                |    180|Success|
|427|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Exact temporal overlap matches event]                                                           |    269|Success|
|428|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Fallback respects section]                                                                      |    249|Success|
|429|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Fallback to next unmatched same section]                                                        |    245|Success|
|430|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Inactive events not matched]                                                                    |    438|Success|
|431|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: New event created when no match found]                                                          |    325|Success|
|432|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Proximity window 48h enforced]                                                                  |    263|Success|
|433|[M2_SyncCampaignsToProductionEvents_Tests].[test MATCHING: Proximity window matches close event]                                                           |    353|Success|
|434|[M2_SyncCampaignsToProductionEvents_Tests].[test SMART START: First sync detects production run start]                                                     |    350|Success|
|435|[M2_SyncCampaignsToProductionEvents_Tests].[test SMART START: Mixed matched and unmatched timeline]                                                        |    196|Success|
|436|[M2_SyncCampaignsToProductionEvents_Tests].[test SMART START: Second sync continues from last matched event]                                               |    324|Success|
|437|[M2_SyncCampaignsToProductionEvents_Tests].[test SPLIT #2258: cross-month event gets one PEA row per production month]                                     |    273|Success|
|438|[M2_SyncCampaignsToProductionEvents_Tests].[test SPLIT #2258: resync does not duplicate PEA EventMonth rows]                                               |    298|Success|
|439|[M2_SyncCampaignsToProductionEvents_Tests].[test TIMESTAMPS: Continuity maintained between groups]                                                         |    344|Success|
|440|[M2_SyncCampaignsToProductionEvents_Tests].[test TIMESTAMPS: FirstBilletTimestamp is first campaign start]                                                 |    318|Success|
|441|[M2_SyncCampaignsToProductionEvents_Tests].[test TIMESTAMPS: TrackedEnd is last campaign end]                                                              |    204|Success|
|442|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob calculates cumulative start values]                                                           |    229|Success|
|443|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob calculates metrics from billets]                                                              |    345|Success|
|444|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob creates new campaign]                                                                         |    204|Success|
|445|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob only counts billets in time range]                                                            |    205|Success|
|446|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob preserves offset values]                                                                      |    217|Success|
|447|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob skips deleted carriers]                                                                       |    303|Success|
|448|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob skips inactive passes]                                                                        |    278|Success|
|449|[M2_TrackPassCampaignsJob_Tests].[test TrackPassCampaignsJob updates existing campaign]                                                                    |    217|Success|
--------------------------------------------------------------------------------------------
Test Case Summary: 449 test case(s) executed, 449 succeeded, 0 skipped, 0 failed, 0 errored.
--------------------------------------------------------------------------------------------