Canada will face Australia in the Davis Cup final on Sunday after beating Italy in the semi-finals.
Italy’s Lorenzo Sonego beat Denis Shapovalov 7-6 (7-4) 6-7 (5-7) 6-4 in a three-hour, 15-minute opening singles match in Malaga .
World number six Felix Auger-Aliassime leveled Canada with a 6-3 6-4 win over Lorenzo Musetti.
He and Vasek Pospisil went on to win the deciding doubles 7-6 (7-2) 7-5 over Matteo Berrettini and Fabio Fognini.
Auger-Aliassime was replaced late in the doubles squad, replacing compatriot Shapovalov after his singles loss.
“We knew this week that we could make changes depending on how singles was going and I just feel like the whole team connected around this idea and there was no ego in the wrong places,” Auger-Aliassime said.
“Everyone just has a clear idea of the main objective, which is to lift the cup tomorrow.”
Pospisil said: “The Davis Cup is always a crazy week and I would say the most fun, as a player. We have more to do.”
This is the second time Canada have reached the Davis Cup final, having done so for the first time in 2019 when they lost to Rafael Nadal’s Spain.
Australia – 28-time tournament champions – reached their first Davis Cup final since 2003 on Friday with victory over Croatia.