George K
e702bfa535
test(enterprise/coderd): deflake TestInvalidateTemplatePrebuilds ( #26499 )
...
`TestInvalidateTemplatePrebuilds` assumed a stable ordering from preset
invalidation results, but the underlying `UPDATE ... RETURNING` query
does not guarantee row order. Local WIP schema changes were enough to
surface that latent flake when running tests.
Update the test to compare invalidated presets as a set instead of by
slice position. This keeps the behavior under test the same, while
removing dependence on unspecified database row ordering.
2026-06-17 16:33:46 -06:00
..
2026-05-28 10:00:37 -05:00
2026-04-07 13:46:26 -05:00
2023-11-20 19:16:18 +00:00
2026-01-08 15:24:11 +04:00
2026-02-03 17:52:07 +00:00
2025-06-20 13:16:55 -06:00
2022-08-22 15:02:50 -07:00
2026-05-28 10:00:37 -05:00
2026-06-09 15:11:27 +01:00
2025-06-16 16:15:59 -06:00
2026-06-05 10:30:31 -05:00
2026-01-08 15:24:11 +04:00
2026-03-05 20:29:49 +00:00
2026-05-28 10:00:37 -05:00
2025-07-09 08:45:24 -06:00
2026-04-30 12:29:35 +02:00
2026-06-16 12:35:40 +00:00
2026-06-16 09:01:43 +00:00
2026-05-20 17:33:26 +02:00
2026-06-09 10:49:47 +01:00
2026-06-16 10:33:34 +01:00
2026-06-16 09:01:43 +00:00
2026-01-26 10:46:45 +01:00
2025-12-29 18:00:06 +00:00
2026-06-03 13:50:33 +02:00
2026-06-16 09:01:43 +00:00
2025-10-22 15:35:16 +02:00
2026-05-05 02:54:03 +05:00
2025-02-24 12:59:41 -05:00
2025-06-20 13:16:55 -06:00
2026-06-03 15:37:19 -05:00
2026-06-16 10:33:34 +01:00
2026-04-03 15:47:26 -05:00
2026-05-05 02:54:03 +05:00
2025-07-09 08:45:24 -06:00
2026-05-26 19:31:52 +00:00
2025-12-15 11:26:41 -06:00
2026-04-07 12:25:32 -06:00
2026-05-05 02:54:03 +05:00
2025-01-31 12:14:24 -07:00
2025-08-20 23:38:09 +10:00
2026-05-05 02:54:03 +05:00
2025-06-20 13:16:55 -06:00
2026-03-06 09:14:11 +00:00
2026-05-05 02:54:03 +05:00
2025-10-23 14:24:54 +02:00
2026-05-05 02:54:03 +05:00
2026-06-05 14:33:13 -05:00
2026-06-05 14:33:13 -05:00
2026-05-20 22:40:50 +00:00
2026-05-05 02:54:03 +05:00
2026-01-08 15:24:11 +04:00
2026-05-05 02:54:03 +05:00
2025-06-20 13:16:55 -06:00
2026-05-05 02:54:03 +05:00
2025-10-23 14:24:54 +02:00
2026-05-05 02:54:03 +05:00
2026-06-05 10:30:31 -05:00
2026-05-05 02:54:03 +05:00
2026-05-28 10:00:37 -05:00
2026-05-28 10:00:37 -05:00
2026-06-05 16:30:15 +01:00
2026-06-17 16:33:46 -06:00
2026-05-20 22:40:50 +00:00
2026-06-04 14:37:19 -04:00
2024-09-16 19:03:25 -05:00
2026-04-07 12:25:32 -06:00
2026-05-05 02:54:03 +05:00
2026-04-29 12:57:47 -06:00
2026-06-18 00:22:19 +10:00
2026-03-04 15:22:43 +02:00
2026-05-05 02:54:03 +05:00
2026-05-11 12:43:52 -05:00
2025-06-16 16:15:59 -06:00
2025-06-20 13:16:55 -06:00
2026-04-28 09:17:08 -07:00
2026-05-05 02:54:03 +05:00
2026-05-05 02:54:03 +05:00
2026-03-05 20:29:49 +00:00
2026-05-05 02:54:03 +05:00
2026-06-10 16:29:00 -07:00
2026-04-07 12:25:32 -06:00
2026-05-05 02:54:03 +05:00