mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-13 12:52:05 +00:00
feat(multiplayer): persist live reconnect abandonments
This commit is contained in:
@@ -27,6 +27,14 @@ func TestInitialConnectSQLPreservesAtomicNoShowReconciliation(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, fragment := range []string{"INITIAL_CONNECT_NO_SHOW", "MATCH_ABANDONED"} {
|
||||
if !contains(initialConnectHistorySQL, fragment) {
|
||||
t.Fatalf("initial-connect abandon history missing %q", fragment)
|
||||
}
|
||||
if !contains(QueueCooldownSelectSQL, fragment) {
|
||||
t.Fatalf("queue cooldown fence missing %q", fragment)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestInitialConnectPlanValidationRejectsIncompleteOrForgedPlans(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user