Wetting time and critical surface tension