Ivan Dodig and Marcelo Melo beat Jamie Murray and Bruno Soares to win the men's doubles final of the Rogers Cup in Toronto.
The third-seeded Croatian and Brazilian beat the second-seeded Scot and Brazilian in straight sets 6-4 6-4.
Rain had forced a lengthy delay with Murray and Soares a break of serve down at 4-3 in the first set.
Murray will team up with his brother, two-time Wimbledon champion Andy, 29, at the Rio Olympics.
Meanwhile, the victorious Melo will play in his home Olympics alongside Soares.
You can now add tennis alerts in the BBC Sport app - simply head to the menu and My Alerts section