florianheinemann / passwordless-tokenstore-test

Test suite for passwordless TokenStores (passwordless-tokenstore)
https://passwordless.net
MIT License
3 stars 3 forks source link

increase timeout limits #2

Closed kvnneff closed 9 years ago

kvnneff commented 9 years ago

I wrote an adaptor for RethinkDB, which is a little slow to connect to on my machine so a couple tests would always fail. This PR lets me keep your tests as a dependency and also have them pass.

florianheinemann commented 9 years ago

Hi! Thank you! I've already added a link to your plugin on the website (under plugins). As for the PR: As this might be a common problem for other systems as well I published a new version 0.1.1. that allows for a 4th (optional) parameter to set the timeout. So you might e.g. write

// Call all standard tests
standardTests(TokenStoreFactory, beforeEachTest, afterEachTest, 600);

Hope that helps! Thanks for pointing out this issue!

florianheinemann commented 9 years ago

Sorry, just realized I had it published on NPM but not yet merged into the repository. Anyways: everything should be fin enow and 0.1.1. should work. Florian