This paper presents an optimization project that was implemented in the Khazzan and Ghazeer fields of Oman to optimize the post-fracturing cleanup and testing period to reduce hydrocarbon flaring and CO2 emissions as well as the testing cost without compromising the overall well cleanup and testing objectives.