silverwind
98c613d943
test: fix unit tests failing on repeated runs ( #39915 )
...
`go test -count=2` failed in 12 packages because tests leaked state into
later runs.
- Reset SQLite sequences after each fixture load, like PostgreSQL
already does
- Prepare the database in tests that relied on earlier tests doing it
- Restore mutated globals with `test.MockVariableValue`
2026-10-22 01:27:02 +00:00
..
2026-10-18 18:04:39 +00:00
2026-10-05 10:11:50 +00:00
2026-10-18 12:56:04 +00:00
2026-08-24 18:26:10 +00:00
2026-10-17 10:58:33 +00:00
2026-10-02 18:16:34 +02:00
2026-09-30 16:37:30 +00:00
2026-10-04 23:50:46 +00:00
2026-10-06 08:22:36 +00:00
2026-07-24 02:05:38 +00:00
2026-10-06 08:22:36 +00:00
2026-10-06 14:36:06 +08:00
2026-09-24 20:23:15 +00:00
2026-10-22 01:27:02 +00:00
2026-10-10 19:52:23 +00:00
2026-08-09 10:25:06 +00:00
2026-08-29 19:54:07 +00:00
2026-10-01 10:01:45 +00:00
2026-08-06 18:07:36 +08:00
2026-10-13 01:33:19 +00:00
2026-10-04 13:13:24 +00:00
2026-09-26 07:42:36 +00:00
2026-10-02 22:21:41 +08:00
2026-10-22 01:27:02 +00:00
2026-08-19 14:15:42 +08:00
2026-10-01 07:50:47 +00:00
2026-10-21 03:12:41 -07:00
2026-09-16 20:41:57 +02:00
2026-09-25 06:22:04 -07:00
2026-10-22 01:27:02 +00:00
2026-10-18 12:56:04 +00:00
2026-10-21 18:52:33 +08:00
2026-10-20 21:18:44 +00:00
2026-10-08 00:33:55 +08:00
2026-08-29 19:54:07 +00:00
2026-09-29 14:43:36 +02:00
2026-09-24 20:23:15 +00:00
2026-10-22 01:27:02 +00:00
2026-10-04 14:51:46 +02:00
2026-10-22 01:27:02 +00:00
2026-10-21 03:12:41 -07:00
2026-08-26 19:32:44 +00:00
2026-10-02 21:08:14 +02:00
2026-10-22 01:27:02 +00:00
2026-10-05 01:45:50 -07:00
2026-10-06 07:45:31 +00:00
2026-10-21 18:52:33 +08:00
2026-08-09 10:25:06 +00:00
2026-10-22 01:27:02 +00:00
2026-10-22 01:27:02 +00:00
2026-09-23 14:34:19 +00:00
2026-09-22 22:49:36 +08:00
2026-08-19 12:50:06 +00:00
2026-08-09 10:25:06 +00:00
2026-10-06 08:22:36 +00:00
2026-10-18 12:56:04 +00:00
2026-10-08 00:33:55 +08:00
2026-10-19 00:34:01 +00:00
2026-10-18 12:56:04 +00:00