Condom failures are catastrophic, as they rip apart when fail. There is no concept of cracks or pinholes.
However, since you witnessed it yourself that there was a hole in it, you exposed yourself to the risk.
What has been done, is done. Now relax and if your exposure is within past 72 hours, go and see a doctor for your risk assessment, otherwise wait for 28 days to get yourself tested for HIV Duo 4th generation test.
One isolated event of unprotected / condom failed sex does not put you at a very significant risk, because there are very slim chances that your partner was a confirmed HIV+. SCW's are also careful about themselves as their exposure is much more frequent than ours