阅读背景:

如何在RSpec中测试信号处理,特别是处理SIGTERM?

来源:互联网 

Heroku may send a SIGTERM to your application for various reasons, so I have created a handler to take care of some cleanup in case this happens. Some googling hasn't yielded any answers or examples on how to test this in RSpec. Here's the basic code: Heroku may send a SIGTERM to your application f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: