No official record exists—War has no governing body, no timed tournaments, and games can theoretically never end.
Longest recorded casual game: anecdotes of 2–4 hours. Longest theoretical game: infinite. If you're playing War and it passes 30 minutes—shuffle and start over. Or switch to Gin Rummy.