[PATCH] Rejoin-testing tool
|Reported by:||Itms||Owned by:||Itms|
|Priority:||Should Have||Milestone:||Alpha 22|
Description (last modified by elexis)
Even though -serializationtest allows us to spot any problem that could happen on rejoin, it's really slow and does not allow us to quickly reproduce the issue.
Attached patch, based on a hack by wraitii and elexis, adds a -rejointest=N cl option that is similar to -serializationtest but exactly simulates a rejoin. On turn N, a secondary simulation is set up with the serialized data from the primary one, and then both run but without deserializing everything on each turn: only states are compared.
This solution is really fast and you only need the host's commands.txt and the turn number where the guest joined (easy to find in their commands.txt).
Using this along with -ooslog makes debugging an OOS far less tedious.
Change History (12)
Changed 6 months ago by Itms
comment:1 Changed 6 months ago by elexis
- Description modified (diff)
- Keywords review added; rfc removed
- Milestone changed from Alpha 22 to Alpha 21