Merge branch '1.0'
This commit is contained in:
@ -925,6 +925,7 @@ static void *eventgen_thread_proc(void *arg)
|
||||
log_text(LOG_FATAL,
|
||||
"The event queue is full. This means the worker threads are "
|
||||
"unable to keep up with the specified event generation rate");
|
||||
sb_globals.error = 1;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
8
tests/t/opt_rate.t
Normal file
8
tests/t/opt_rate.t
Normal file
@ -0,0 +1,8 @@
|
||||
########################################################################
|
||||
Tests for the --rate option (aka the limited rate mode)
|
||||
########################################################################
|
||||
|
||||
# Failing to deliver the requested rate should result in a non-zero exit code
|
||||
$ sysbench --rate=2000000000 cpu run --verbosity=1
|
||||
FATAL: The event queue is full. This means the worker threads are unable to keep up with the specified event generation rate
|
||||
[1]
|
||||
Reference in New Issue
Block a user