Energy Transfer Company's Franklin plant will remain open for now.
A Robertson County judge made the decision during a hearing Tuesday morning.
The plant has been under scrutiny since 10 neighboring residents sued the plant blaming its hydrogen sulfide emissions on rising health problems.
In September a Robertson County judged granted a stay to the order to temporarily shut down the plant.
Tuesday the judged lifted the stay and allowed the plant to remain open through the trial.
The judge also denied the case being moved to Bexar County where Energy Transfer is based.
The trial is expected to begin within the next five to six months in Robertson County.