DTH van der Merwe's late try sealed Glasgow a narrow 13-8 victory over Treviso and kept the Warriors on course for the RaboDirect PRO12 play-offs.
The Canadian wing marked his comeback from injury with the try three minutes from time as Glasgow finally saw off a spirited Treviso effort.
Glasgow retained their place in the top four and Sean Lineen's men will carry a four-point cushion into next weekend's game against Connacht.
But for long spells it appeared as if Treviso would leave with the spoils and they took the lead after 10 minutes with a try from Brendan Williams.
Italian fly-half Kris Burton launched Tommaso Benvenuti through a gap before wing Williams beat the Glasgow cover defence to score his sixth league try of the season. Burton missed the conversion as the heavens opened in northern Italy, prompting Glasgow to keep the ball in the forwards.
After a 20th-minute drive from Alistair Kellock, Treviso lock Corniel Van Zyl was caught offside at the ruck and Duncan Weir slotted home his first penalty for Glasgow.
Treviso scrum-half Edoardo Gori and Kellock were sin-binned for fighting after half an hour and the Italian side retained their narrow lead into the interval.
The Italians strayed offside and Weir kicked Glasgow into the lead for the first time in the game after 61 minutes.
Treviso hit back with a Burton penalty five minutes from time and it appeared as if they would close out the victory when Ruaridh Jackson missed a shot at goal.
But Van der Merwe proved Glasgow's match-winner on his return to action after recovering from the shoulder injury he suffered at the World Cup. He cut through the Treviso defence to touch down in the 77th minute and Jackson's conversion wrapped up the narrow victory.