TOYOTA Racing missed out on pole position for the Six Hours of Shanghai by the narrowest of margins in an incredibly tight qualifying session for the sixth round of the FIA World Endurance Championship.