Upvote:1
You will not end up in this situation, since transiting through Doha does not require taking a PCR test on the spot. Qatar Airways:
Transit through Doha
Passengers who are transiting through Doha, and not leaving the airport, are not required to present any test results or certifications above the requirements of their departure or destination country.