update build to only run unmanaged tests in production and up timeout maximum