OLTP scripts: add --reconnect option.
oltp_*.lua scripts now support the --reconnect=N option. When specified, sysbench will reconnect after every N events. Fixes GH-90.
This commit is contained in:
@ -66,10 +66,9 @@ SQL Lua API + PostgreSQL tests
|
||||
301 400 0123456789 0123456789
|
||||
--
|
||||
1
|
||||
ALERT: reconnect is not supported by the current driver
|
||||
2
|
||||
--
|
||||
reconnects = 0
|
||||
reconnects = 1
|
||||
FATAL: Connection to database failed: could not translate host name "non-existing" to address: * (glob)
|
||||
|
||||
connection creation failed
|
||||
|
||||
Reference in New Issue
Block a user