-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add timeout for starting tarantool server
Function wait_until_started in TarantoolServer contains seek_wait, which waits pattern in logfile. If there is no pattern, server is hanging. Was added start-server-time (by default equals to 90 secs). The pattern is sought until the time runs out and wait_until_started returns True if the pattern was found (else False). Was added new logging that the instance wasn't started. Fixes: #276
- Loading branch information
1 parent
a03704d
commit 645c1c7
Showing
3 changed files
with
56 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters