-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hello @iconara!
Figured this would be as good of a spot as any to ask this question, but we discovered an issue when using ione with the ruby cassandra driver and timecop. Specifically, this is the situation.
- Configure and launch a cassandra server locally.
- Configure an rspec suite for integration tests against the cassandra server.
- Ensure the cassandra
idle_timeoutis set to the default value (60) - Adjust time using timecop to sometime in the future past 60 seconds.
Result:
The test will fail with a cassandra timeout error, as the scheduled ione timer for the idle_timeout has not been rescheduled, and the on_value timeout function has been called.
Given this, I could see an argument for either calling this a cassandra ruby driver issue, or a ione issue--if you'd like me to report this somewhere else, please let me know.
However, my question is: What is the best way to utilize timecop with ione?
Metadata
Metadata
Assignees
Labels
No labels