Dna test on unborn baby

2 potential fathers, one (jamaican) is telling me to burn in hell for keeping the baby and the other (white) and his family want me to move in with them and are over the moon, he knows it's not 100% his but he hasn't told his parents and if the baby comes out and it's not his then I'll be hated forever by his family and homeless (working on getting my own place)... I need to find out before the baby is born so I can fix things before I get in too deep with his family. I've read it's risky for the baby, how risky exactly? And how could I go about getting one.

Please don't say wait until the baby is here to have one because It'll be obvious when it comes out mixed race or not.