If you get any effect at all, then you've definitely had enough to fail a drug test.
How long after you've used that you will fail a drug test depends widely on many factors like The amount you used, how long you've been using on a regular basis, body size and fat content (overweight people...