At Google we had 3 test servers that were for automated testing and 1 human-based testing that some early Google users have access to. After there isn't any bugs etc in the bug reporting service + they don't spot any bugs (which is actually very rare, despite the huge amount of testing), the code is pushed to production.