Closed saiHemak closed 6 years ago
@djones as discussed, I have raised this WIP PR for getting the tests executed in Travis-CI environment.Also I have done the changes as per our discussion.Please review ..
I agree that patch looks annoying due to the indentation changes . Inclusion of setUpDatabase
call at the start of the method has caused the rest of the lines to displace.
Updated test suite to support asynchronous execution
Description
Updated the test suite to perform the check, drop, create databases in sequential manner.
Motivation and Context
Encountered test failures due to asynchronous execution of the above said operations while testing with Kitura-NIO API.The reason being the difference in the time taken by
HTTP.request
is causing the test case to check for database existence even before creationHow Has This Been Tested?
Ran Kitura-CouchDB test suite
Checklist: