Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use gevent sleep for switching context
Was changed `time.sleep` to `gevent.sleep` to allow current greenlet to sleep and others to run. If it uses time.sleep() greenlet's context is not changed from the main process to test greenlet. As a result, there was no data received by the main process during hanging tarantool and the suite was fallen down by common timeout (no output timeout). Using greenlet timeout allows to fall down by test timeout. Fixes: #276
- Loading branch information