It may be fair to describe the lack of available tests a failure. All the PCR testing sites near me were 100% booked whenever I checked and the state did nothing (as far as I know) to tell us where we could get tested. Perhaps that could be described as a failure. But the rhetoric from you and the other poster is post-hoc silliness. Neither of you seem to be aware that you're expecting the government to tell the future or what the drawbacks of that might be.
For a taste, consider that citizens blaming the government for 9/11 plausibly led to a years-long illegal wire-tapping and at least one clearly unnecessary war.
When a government fails to do something about an entirely predictable outcome, that is not just an error, it is also a failure.
You have a really surprising way to view things: All governments can be excused for inaction or even the wrong action with this logic.
It would be different if we had never before experienced a pandemic. It would be different if we did not have the examples of countries and cultures with effective implementation of testing at scale while we did nothing.
This defense of inaction is like leaving potholes alone because doing the obvious thing might cause harm somehow.