i have

i raised 1 caller other guy goes all in im sittin with 35k chips raised 3xbb so its only another 2k to call 1st caller does the same . flop comes

, he checks i check , next card a blank , other guy bets the full pot i fold . turns out both of them have ak and split the pot.
i was a bit miffed by this as i thought he should have checked it down. didnt cost me a whole lot but still, is this a play anyone else would make? or isit an acceptable play to make to take me out the pot and leave him heads up with the all inner?