Closed soutaro closed 8 years ago
I tried to write tests for MongoTailInput, and found some difficulties.
MongoTailInput
killall mongod
I did refactor mongod lifecycle management in tests.
MongoOutputTest
MongoReplOutputTest
TestCase.startup
TestCase.shutdown
Process.kill
CI stil fails due to bundle install failure...
bundle install
Sorry for the delay. Could you rebase the commit to rerun test on Travis-CI?
I'm sorry for late response. I did rebase, and now it's green!
Thanks!
:fireworks:
I tried to write tests for
MongoTailInput
, and found some difficulties.killall mongod
because it also kills my mongod I'm using for my app developmentI did refactor mongod lifecycle management in tests.
MongoOutputTest
andMongoReplOutputTest
TestCase.startup
andTestCase.shutdown
to start and stop mongodProcess.kill
to stop mongod