flyemoji
30b4e1dfb2
test(nano): cover the bar-list error, bad identity id and ip relay
...
Three paths in handleHasJoined had no test that fails when they break:
- A bar-list lookup error answers 500. Logging it and carrying on would
admit a reclaimed squatter during a database outage.
- An identity (Mojang) id that does not parse answers 204. Ignoring the
parse error would emit the nil UUID for every such login, so they all
share one player's data.
- The ip parameter is relayed to each source. Dropping it turns off the
sources' check that the session is used from the player's own address.
One subtest each. Mutants that ignore the bar-list error, ignore the id
parse error, or stop appending ip each fail their subtest.
2026-09-22 13:35:50 +09:00
..
2026-07-20 04:47:32 +09:00
2026-09-22 12:46:00 +09:00
2026-07-20 11:10:23 +09:00
2026-07-07 10:04:30 +09:00
2026-07-07 10:04:30 +09:00
2026-07-05 16:22:08 +08:00
2026-06-26 23:32:38 +09:00
2026-07-21 00:11:40 +09:00
2026-07-02 03:30:50 +08:00
2026-09-22 12:57:19 +09:00
2026-07-05 20:50:48 +09:00
2026-07-05 20:50:48 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-07-04 21:47:12 +09:00
2026-07-04 21:47:12 +09:00
2026-07-04 21:47:12 +09:00
2026-07-07 19:32:13 +09:00
2026-07-08 05:58:00 +09:00
2026-07-07 19:32:13 +09:00
2026-06-26 23:32:38 +09:00
2026-06-26 23:32:38 +09:00
2026-06-26 23:32:38 +09:00
2026-07-22 14:40:42 +09:00
2026-07-21 00:11:40 +09:00
2026-07-20 14:33:29 +09:00
2026-07-20 14:33:29 +09:00
2026-09-22 13:35:50 +09:00
2026-09-22 13:21:43 +09:00
2026-06-26 23:32:38 +09:00
2026-07-20 11:10:23 +09:00
2026-07-20 11:10:23 +09:00
2026-07-04 21:47:12 +09:00
2026-07-01 22:04:19 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 11:10:23 +09:00
2026-07-20 11:10:23 +09:00
2026-07-05 16:02:30 +09:00
2026-07-05 16:02:30 +09:00
2026-07-16 13:26:56 +09:00
2026-07-16 13:26:56 +09:00
2026-07-16 13:26:56 +09:00
2026-07-05 02:05:44 +08:00
2026-07-04 21:47:12 +09:00
2026-07-05 04:05:56 +09:00
2026-07-20 04:47:32 +09:00
2026-07-22 14:40:28 +09:00
2026-09-22 12:43:54 +09:00
2026-07-22 14:40:28 +09:00
2026-07-01 18:26:42 +09:00
2026-07-01 18:17:07 +09:00
2026-07-01 18:17:07 +09:00
2026-07-20 04:47:32 +09:00
2026-07-20 04:47:32 +09:00
2026-06-26 23:32:38 +09:00
2026-06-26 23:32:38 +09:00
2026-07-01 22:04:19 +09:00
2026-07-21 00:12:37 +09:00
2026-07-21 00:12:37 +09:00
2026-07-01 23:06:26 +09:00
2026-09-22 13:31:53 +09:00
2026-07-01 21:07:08 +09:00
2026-07-22 14:40:42 +09:00
2026-07-04 04:08:14 +08:00
2026-07-20 10:24:52 +09:00
2026-07-20 04:47:32 +09:00
2026-06-26 23:32:38 +09:00
2026-06-26 23:32:38 +09:00
2026-07-20 11:10:23 +09:00
2026-07-02 23:38:46 +08:00
2026-07-02 23:38:46 +08:00
2026-07-04 21:47:12 +09:00