Glasgow survived against Edinburgh beating them with one pointer on Saturday to move off the bottom of the PRO14 Conference A table.
Jaco van der Walt missed the conversion after a Eroni Say try in the final minutes of the match.
Edinburgh were 10-9 ahead at the break thanks to Farndale’s try but Glasgow came back with Fagerson and Turner both getting over for tries.
A great try by Dean reduced the lead and set up a dramatic final minutes in the game.
Glasgow have now moved up to fourth in the standings while Edinburgh remain second from the bottom in Conference B.
|Glasgow Warriors (9) 23|
|Tries: Fagerson, Turner Con: Thompson (2) Pens: Thompson (3)|
|Edinburgh (10) 22|
|Tries: Farndale, Dean, Sau Con: Van der Walt, Bennett Pen: Van der Walt|