Same thing happened many years ago to an Eastern L-1011. N313EA was in the hangar at Miami when the fire suppresion system was accidentally activated. The aircraft was badly flooded by the foam and water. For the remainder of Ship 313's life with Eastern, she was (less than lovingly) referred to as the Hangar Queen. After the soaking incident, that particular L-1011 had a battery of troubling mtce. problems, and therefore it seemed to spend more time in the hangar than in the air.
Got time to spare? Go by air!!