Grigor Dimitrov was forced to rescue two match points before eventually overcoming Malek Jaziri, while Rafael Nadal had no such problems at the Barcelona Open on Thursday.
Second seed Dimitrov, aiming for just his second clay-court title and his first in four years, was taken the distance - and to the brink of a shock defeat - before completing a 7-5 3-6 7-6 (10-8) success.
The opening set proved a sign of things to come as world number 88 Jaziri took a 4-2 lead, but Dimitrov hit back and belatedly forged ahead by converting his fifth set point.
Jaziri was unbowed, however, and broke at either end of the second to level the match before once again taking a 4-2 lead in the decider, and the Tunisian earned a match point at 6-5 with Dimitrov on serve.
He could only net a backhand, though, as the Bulgarian forced a tie-break, where the drama continued.
Dimitrov wasted a trio of match points - sending a makeable backhand wide on the third - and breathed a sigh of relief when Jaziri dumped a forehand into the tramlines at 8-7. As the match approached the end of its third hour the Tunisian finally cracked, netting a forehand as his opponent squeezed into the quarter-finals.
He will play Pablo Carreno Busta, who defeated Adrian Mannarino in another match decided on a final-set tie-break.
There was no such drama later in the day as Nadal breezed past compatriot Guillermo Garcia-Lopez 6-1 6-3 to chalk up his 16th straight victory on clay, as well as extending his record of consecutive sets won on the dirt to 40. Martin Klizan awaits in the last eight.
Third seed Dominic Thiem got the better of Jozef Kovalik, while there were also wins for Stefanos Tsitsipas, fourth seed David Goffin and Roberto Bautista Agut.
Meanwhile, there was a shock at the Hungarian Open as top seed and defending champion Lucas Pouille was dumped out 6-3 6-4 by John Millman. Yannick Maden, Andreas Seppi and Nikoloz Basilashvili were Thursday's other winners in Budapest.
|LeBron James saves Cavaliers from elimination|
|Peru FA president weighs in on Paolo Guerrero´s drugs ban appeal|
|Kevin Love ruled out of Game 6 for Cavaliers after concussion|
|Prescott says Cowboys don´t need top receiver|
|MLB extends Roberto Osuna´s administrative leave for third time|
|Rose shoots 64 to take Fort Worth lead|
|James Harden not worried about shooting struggles|
|Green: Spurs star Leonard wants to stay in San Antonio|
|Griezmann could help Barcelona a lot, says Umtiti|
|Moyano hat-trick helps Jaguares sink 14-man Sharks|
|Mbappe rejected Real Madrid for PSG - Monaco´s Vasilyev|
|Rovers rock Warriors as Wolves bite back to see off Hull|
|Thiem through in Lyon as Fucsovics closes in on historic first title|
|Hughes signs three-year Southampton deal|
|Barty suffers injury scare in Strasbourg|
|Ruthless Montpellier overpower Lyon to reach Top 14 final|
|Rabiot hits out at Deschamps criticism|
|Low: Messi more complete than Ronaldo|
|Marvellous McIlroy moves three clear at Wentworth|
|Brighton confirm deal for Deportivo striker Andone|
|No offers for Lyon captain Fekir, Aulas claims|
|Pakistan turn the screw to frustrate England at Lord´s|
|Rashid leaves Knight Riders in the shade as Sunrisers reach IPL final|
|Madrid not favourites for Champions League final - Zidane|
|Don´t compare Salah to Messi and Ronaldo, says Ramos. They´re in a different orbit!|
|Van Dijk: Liverpool is my team, Anfield is my home|
|Ronaldo at ´140 per cent´ is good enough for Zidane|
|People like to talk - Marcelo responds to misquoted Klopp|
|French Open 2018: Hopes of sensational Serena success raised by Roland Garros draw|
|Houston Rockets without Chris Paul for game six|
|Ostapenko used to life in the spotlight ahead of French Open defence|
|Red Sox designate Hanley Ramirez for assignment|
|Liverpool motivated by Europa League pain - Henderson|
|Reus relishing Favre reunion at Borussia Dortmund|
|Phenomenal Froome claims stunning Giro lead as Yates capitulates|
|Bertens, Kontaveit and Kasatkina – Can Ostapenko´s Roland Garros fairytale be matched?|
|Klopp less excited about second final appearance|
|It´s funny if two managers in the final have no clue about tactics - Klopp defends Zidane|
|Salah´s long-term potential ´not important´, says focused Klopp|
|It´s kind of unreal - Kvitova surprised by her success ahead of French Open return|
|Man United and Real Madrid favourite Beckham begs Zidane to beat Liverpool|
|Storm and Raiders snatch dramatic wins|
|Boateng desperate for ´best in the world´ Neuer to play|
|Great players have to play here - Real Madrid´s Marcelo continues Neymar courtship|
|Salah can win Ballon d´Or with Champions League triumph, says Luiz|
|Roland Garros wins ´exactly the same´ for Nadal regardless of Federer involvement|
|Rebels romp past Sunwolves, Crusaders retain top spot|
|Halep ´stronger mentally´ as she seeks first grand slam title|
|Cipriani on bench for Baa Baas clash|
|Ronaldo´s rival Salah shifts focus back to Liverpool versus Real Madrid|
|Two arrested in Kiev after clashes before Champions League final|
|Johnny Nelson leads tributes after death of Brendan Ingle|
|Batshuayi puts off Chelsea plans until after World Cup|
|Devon Smith back in Windies squad, Hamilton earns maiden call-up|
|Thiago hints at uncertain Bayern Munich future|
|Dhananjaya pulls out of Windies tour following death of father|
|I feel great - Kerr keeps faith with Warriors on the brink|
|Ronaldo: I can´t be compared with Salah|
|Buffon agent backs Paris Saint-Germain move|
|ICC confirms smart watches prohibited|
|Real Madrid v Liverpool: Champions League final in Opta numbers|
|Mane sends 300 Liverpool shirts to Senegal village for Champions League final|
|Arthur will not join Barcelona before December, Gremio insist|
|Real Madrid v Liverpool: Key battles in the Champions League final|
|Trout hits 15th HR, Bundy strikes out 14|
|Rockets star Paul dealing with hamstring injury|
|Does he only care about his hair? - Denmark coach Hareide slams Pogba, France|
|Rockets push Warriors to brink of elimination|
|World number 84 Kicker suspended for match-fixing|
|WATCH: Paul shimmies in Curry´s face|