Optimistically, including the former Soviet bloc countries is a long term play. It's possible that the plan is for them to shift towards closer integration politically over a decade or two, at the expense of some aggravation now - rather than like East Germany.
Less optimistically Brussels was tricked into expansion by the US.
Realistically I'd guess a mix of both motivations is likely.