If you're talking about a military piss test the answer is no, you will not fail. Even if they did test for steroids, which they don't, most orals clear your system within 4-6 weeks anyway.
That applies to most civillian companies as well. I've been tested twice while on a "legal" PH/PS cycle and came up clean both times. I asked the lab tech point blank last time and she told me they do not test for steroids on a UA.
I know at least 20 active duty guys on legal orals and a couple on AAS. None have ever failed a UA.
Does that mean you're completely safe? Of course not, but your confidence level should be pretty high. Especially if you know when the test will be.
For the most part college, Olympic, and professional level athletics are the only ones that care about steroid use in the workplace.