treasure-data / serverengine

A framework to implement robust multiprocess servers like Unicorn
Apache License 2.0
759 stars 86 forks source link

test: Fix problem with occasional test failures #133

Closed daipom closed 2 years ago

daipom commented 2 years ago

I found the cause of occasional test failures in https://github.com/treasure-data/serverengine/pull/132.

It was caused by Timecop.freeze occurring before setting restart-time.

This fix will make tests stable.