Was it really worth the trouble?

Both Major League Baseball and the New York Yankees soon might face that question, though for entirely different reasons.

If Alex Rodriguez does not receive a sufficiently lengthy suspension, baseball’s decision to play rough in the Biogenesis scandal — paying for information, associating with ex-cons and other lowlifes — will look all the more questionable.

As for the Yankees, no matter what happens with A-Rod, they will blow past the $189 million luxury-tax threshold if they win the bidding for Japanese right-hander Masahiro Tanaka, making all of their cost-cutting efforts since the 2011-12 offseason look like a waste.

The A-Rod saga figures to end first, perhaps even this week. Arbitrator Frederic Horowitz’s ruling on Rodriguez’s appeal of a 211-game suspension could amount to a verdict not just on A-Rod but also on baseball’s conduct during its investigation.

Baseball likely will claim victory on any suspension of more than 105 games, which would be the longest ever for performance-enhancing drugs. Anything less, and the sport will be embarrassed — perhaps even more embarrassed than it was in 2012 when Ryan Braun won his appeal of a 50-game ban.

Braun tested positive but avoided suspension by challenging the collection process. Rodriguez did not test positive but was suspended, baseball said, for his alleged use and possession of banned substances, and also for a “course of conduct intended to obstruct and frustrate the Office of the Commissioner’s investigation.”