Brazil's 3-2 win over Canada drew a crowd of 47,052 fans at Seattle's Qwest Field on Saturday.
Real Madrid's Robinho spared Brazil the embarrassment of making it three games without a victory over Canada when he pounced on Julian de Guzman's failed back pass and broke a 2-2 tie in the 63rd minute after rounding goalie Pat Onstad.
Werder Bremen's Diego scored on an assist from Robinho only four minutes into the game, and the rout appeared to be on.
But Canada equalized on a goal by former UC Santa Barbara forward Rob Friend in the 10th minute and almost went ahead a quarter of an hour later but Issey Nakajima-Farran missed a breakaway.
Luis Fabiano put Brazil ahead just before halftime, but de Guzman tied the score 10 minutes into the second half
The previous two Brazil-Canada meetings in 1994 and 2001 ended in draws.
"The players got together on the eve of the game after a long season [in Europe] and a tiring journey and it was a heavy field," Brazil coach Dunga said. "The team never dropped their heads, we kept going forward looking for the result ... we put together some good moves and they kept 11 players behind the ball all the time. There are always fewer problems when we win."
Brazil's next friendly is against Venezuela in Foxboro, Mass., on Friday. It then heads to South America for World Cup qualifiers at Paraguay on June 15 and at home to Argentina three days later.
For Canada, the Brazil game was tuneup before the World Cup qualifying series against St. Vincent & the Grenadines.
"We have to concern ourselves with a bit of a let down," said Canada coach Dale Mitchell. "Most people probably wouldn't have thought we could be as close to Brazil. Some people will think St. Vincent & the Grenadines won't be that close to us. The fact is, in international football, it can happen. We have to do everything to prepare for it."
Canada next faces Panama Wednesday in Fort Lauderdale, Fla., then heads to St. Vincent & the Grenadines for the first leg June 15 in Kingstown. The home leg is June 20 game at the new Saputo Stadium in Montreal.