HAL9000
a998c5a0bf
fix(test): add root_plan_id to raw SQL in plan_phase_migration constraint tests
...
The step_try_insert_plan_with_phase_and_state function was using raw SQL to
insert a plan with an invalid phase value to test the CHECK constraint. However,
the raw SQL was missing the root_plan_id column, which is NOT NULL in the schema.
This caused the insert to fail with a NOT NULL violation instead of the intended
CHECK constraint violation on the phase column.
This fix adds root_plan_id to the raw SQL INSERT statement, setting it to the
same value as plan_id (for a root plan). This allows the test to properly
exercise the CHECK constraint on the phase column, ensuring the test fails for
the correct reason.
ISSUES CLOSED : #9411
2026-05-03 23:11:39 +00:00
..
2026-04-27 07:33:18 +00:00
2026-04-30 10:56:21 +00:00
2026-05-03 23:11:39 +00:00
2026-04-28 03:22:06 +00:00
2026-04-23 11:46:36 +00:00
2026-05-01 09:10:48 +00:00
2026-04-27 05:00:54 +00:00
2026-04-30 10:56:21 +00:00
2026-04-23 16:15:49 +00:00
2026-04-23 12:19:50 +00:00
2026-04-30 10:56:21 +00:00
2026-04-30 02:05:12 +00:00
2026-04-27 05:00:54 +00:00
2026-05-03 00:17:15 +00:00
2026-05-02 21:54:17 +00:00
2026-04-28 05:00:12 +00:00
2026-04-23 09:08:11 +00:00
2026-04-30 02:05:12 +00:00
2026-05-03 00:39:15 +00:00
2026-04-30 10:56:21 +00:00
2026-04-21 05:14:07 +00:00
2026-04-24 19:01:56 +00:00
2026-04-27 07:33:18 +00:00
2026-04-23 12:19:50 +00:00
2026-04-30 10:56:21 +00:00
2026-04-21 16:53:08 +00:00
2026-04-24 05:45:20 +00:00
2026-04-28 06:30:26 +00:00
2026-04-24 22:46:41 +00:00
2026-05-02 01:36:45 +00:00
2026-04-30 14:56:33 +00:00
2026-04-28 04:06:57 +00:00
2026-04-28 04:06:57 +00:00
2026-04-26 11:19:10 +00:00
2026-04-23 09:22:33 +00:00
2026-04-24 10:32:15 +00:00
2026-04-21 03:38:05 +00:00
2026-04-21 11:31:15 +00:00
2026-04-30 14:56:33 +00:00
2026-05-03 01:37:49 +00:00
2026-04-30 10:03:08 +00:00
2026-05-03 00:17:15 +00:00
2026-04-21 11:56:19 +00:00
2026-04-26 19:40:00 +00:00
2026-04-23 12:19:50 +00:00
2026-04-21 01:59:07 +00:00
2026-04-30 02:05:12 +00:00
2026-04-25 04:21:23 +00:00
2026-04-28 09:23:33 +00:00
2026-04-21 06:42:10 +00:00
2026-04-28 10:12:06 +00:00
2026-04-26 18:23:48 +00:00
2026-04-26 12:19:34 +00:00
2026-05-02 21:57:54 +00:00
2026-04-27 02:06:23 +00:00
2026-04-24 11:05:02 +00:00
2026-04-24 19:01:56 +00:00
2026-04-26 17:34:52 +00:00
2026-04-27 01:12:35 +00:00
2026-04-23 18:29:11 +00:00
2026-04-22 00:45:09 +00:00
2026-04-28 07:33:43 +00:00
2026-04-27 07:33:18 +00:00
2026-04-27 07:33:18 +00:00
2026-04-24 04:11:54 +00:00
2026-04-21 08:45:06 +00:00
2026-04-30 15:36:26 +00:00
2026-04-24 03:01:13 +00:00
2026-04-23 23:01:46 +00:00
2026-04-22 14:06:42 +00:00
2026-04-22 06:37:17 +00:00
2026-04-30 10:56:21 +00:00