NO, not by a longshot that is not a bad beat. Bad beats are when you have monster hands and they get beat. POCKET ROCKETS that turn into a set and get beat by someone going all in on a gutshot straight draw thats a bad beat. Two hearts on the table and the guy is calling you all you had was top pair with the kicker so don't overbet your hand and it wont turn into a bad beat. its simple you had a pair of tens. How much would you have bet if tens were the middle pair

would you go all in on that in a tournament

well if you had hit a ten on the river the guy would have lost to you even if he had had pocket sevens now that would have been a bad beat!