How long does it take for a reset computer to be "ready" for emissions testing?

After I got the PO442 code, I replaced the gas cap because it was a cheap fix and I needed to get an emission inspection because I recently purchased the VX. The CEL didn't turn off, even after driving for several days so I did the disconnect of the 3 plugs under the cover below the disc changer. The CEL went off and reappeared after I had used about 3/4 of a tank of gas. I didn't get the code read again because I guessed that it was the same code again. I then did the unplug/replug trick again to clear the light. I drove about 50 miles and then went for an emissions inspection. It failed because the computer was "not ready" due to the clearing of the codes I did 50 miles ago. Some of the catagories were ready but the catalyst, evap system, and O2 sensor were not.

How long does it take for all of these to be ready for emissions testing? I now have driven for probably 130 miles since resetting. The CEL is still off but how do I know if I have driven enough for emissions testing?

Thanks

Dean
'01 silver vx
St. Louis, MO