After their defeat in Brazil, McLaren spent eight days testing at Imola prior to the San Marino Grand Prix. According to Ayrton Senna, they tested everything on the McLaren MP4/5, including aerodynamics, suspension, brakes and fuel consumption. It worked for Senna and Alain Prost, as they locked out the front row and were over 1.5 seconds faster than the Ferrari of Nigel Mansell. Riccardo Patrese showed his and Williams' revival with fourth on the grid followed by Gerhard Berger (Ferrari) with Thierry Boutsen rounding out the top six.