Unprotected sex with anyone whose health status is unknown, regardless of its duration is a risk. Possibility of HIV transmission is not very high in this isolated single event but it is not zero either.
The only way to rule out the possibility, is to get tested. It is too early to test right now, so wait for another 3 weeks then go for HIV Duo 4th generation test, collect your conclusive report and move on with your life