268 Commits

Author SHA1 Message Date
1036b64d32 Merge branch '1.0' 2018-03-21 22:43:44 +03:00
89e37ba6f7 Don't crash when SQL bulk insert API calls are used out of order. 2018-03-21 22:43:08 +03:00
651e7fd014 Merge branch '1.0' 2018-02-17 20:38:39 +03:00
4166834248 tests: improve test_fileio.t stability. 2018-02-17 20:37:24 +03:00
831e20a036 Merge branch '1.0' 2018-02-17 19:52:36 +03:00
7263769245 tests: add --validate test to test_fileio.t 2018-02-17 19:42:22 +03:00
a0a26947d6 Merge branch '1.0' 2018-02-04 00:07:30 +03:00
d000761b9c --file-extra-flags now accepts a list of flags rather than a single value 2018-02-03 19:19:12 +03:00
edb40e012a Remove legacy (0.5) API. 2018-01-07 14:08:27 +03:00
02d1fbade5 Merge branch '1.0' 2018-01-07 11:33:25 +03:00
aefee11a50 api_basic.t: fix help() test 2018-01-07 11:32:56 +03:00
986000108a Merge branch '1.0' 2018-01-02 20:11:05 +05:00
b7dd7e0781 fix the ret value by which we can stop benchmark in event 2018-01-02 20:08:36 +05:00
08d4b38bb4 Merge branch '1.0' 2017-12-24 11:50:52 +03:00
6972814378 Replace custom data inspection code in regression tests with inspect.lua. 2017-12-24 11:48:29 +03:00
0e79f2033c Merge branch '1.0' 2017-12-23 15:53:28 +03:00
fd343c027e Fix test comment. 2017-12-23 15:53:09 +03:00
ea44344870 Merge branch '1.0' 2017-12-23 14:34:58 +03:00
6e979f5aef GH-198: Tolerate misaligned test_files.
Adjust I/O request size if it crosses file size boundaries. Which may
happen if the specified file size is not a multiple of block size.
2017-12-23 14:07:29 +03:00
f4c0a61fac Merge branch '1.0' 2017-12-23 13:32:32 +03:00
f9d79aefe5 Addendum to patch for GH-196: skip file size validation on seqwr tests. 2017-12-23 13:26:53 +03:00
61db85058e Merge branch '1.0' 2017-12-17 13:37:02 +03:00
b9c6b3a2df Fix GH-196: fileio: validate file sizes on startup
In the fileio test, throw a descriptive error on startup if a test file
size is lower than expected.
2017-12-17 13:07:20 +03:00
b877b5f986 Adds support for variable-length rand string
Adds a new random generator of variable-length strings:

```lua
s = sysbench.rand.varstring(10, 100)
```

"s" will be a string containing ASCII characters from '0' to 'z',
inclusive. It will be a length between 10 and 100 characters long.

Addresses GH Issue #17
2017-11-23 10:01:50 -05:00
fc5fa698a3 Merge branch '1.0' 2017-11-10 11:47:43 +03:00
53bcc667ca Sort PostgreSQL index defs in regression tests to make results deterministic. 2017-11-10 11:44:08 +03:00
dbcba59927 Merge branch '1.0' 2017-11-09 14:50:15 +03:00
06c7f55f24 Fix #178: (--tables>1 --threads>1 broken in oltp_insert.lua)
A combination of --tables and --threads with non-default (i.e. higher
than 1) values resulted in incompleted set of tables generated by
"prepare" for the oltp_insert.lua script.
2017-11-09 12:35:17 +03:00
9079e0a271 Merge branch '1.0' 2017-10-26 17:24:19 +03:00
e3ef9b642c Add -q (quiet) flag to psql in pgsql_common.sh. 2017-10-26 15:07:53 +03:00
0bd06b9a47 Fix Postgres-specific regression tests to work with PostgreSQL 10. 2017-10-26 14:59:25 +03:00
07b1146b15 Fix #173: Commit feb0346 removed latency sum from reporting
Add latency sum back to reports.
2017-09-19 08:48:27 +03:00
feb0346fc3 Various cleanups and improvements in benchmark reports. 2017-09-18 23:14:01 +03:00
c01087138d Make sysbench.opt available to init()/done() by exporting it to global Lua state. 2017-09-15 20:48:27 +03:00
a880fc4bcc Make sysbench.opt available to init()/done() by exporting it to global Lua state. 2017-09-15 20:43:28 +03:00
6c2e47ecd6 Add Zipfian distribution.
Zipfian distribution is now available and can be controlled via
--rand-type=zipfian, --rand-zipfian-exp.
2017-09-12 10:18:14 +03:00
b16976cf2e Merge branch '1.0' 2017-09-12 10:13:40 +03:00
cd2b738022 Avoid PK conflicts in oltp_insert.lua by creating empty tables on 'prepare'. 2017-09-12 10:08:59 +03:00
d58e3f6aed Adjust script_oltp_delete_*.t tests for 1.1. 2017-08-23 17:30:55 +03:00
8af8dbb76d Fix the opt_warmup_time test. 2017-08-23 17:20:30 +03:00
bcebbb39ff Merge branch '1.0' 2017-08-23 16:20:14 +03:00
305be15ebc Fix #168: oltp_delete.lua uses DELETE + INSERT statements
Remove INSERT statements from oltp_delete.lua.
2017-08-23 16:14:14 +03:00
e9b5f4b71e Fix #167: warmup maybe problem
Fix the --warmup-time option for the fileio test by replacing internal
counters in sb_fileio.c with sb_counters_t / sb_stat_t API used in other
benchmarks. As a result, checkpoints (and --warmup-time) now reset
fileio counters properly.
2017-08-21 18:53:01 +03:00
5edb487b4f Merge branch '1.0' 2017-06-07 22:39:46 +03:00
b57453df60 Report events per second in the CPU benchmark. Ref. #140. 2017-06-07 21:49:46 +03:00
46f790b773 Merge branch '1.0' 2017-06-04 20:04:09 +03:00
6356e2b45e Fix #139: Json format has trailing comma
Remove a superfluous comma from the JSON reporter.
2017-06-04 20:03:17 +03:00
3cf7494024 Merge branch '1.0' 2017-05-31 21:29:07 +03:00
3fd67c44c5 Add a testcase for the missing file error in fileio. 2017-05-31 21:27:04 +03:00
f6bbdfa76f fix api_report test latency check 2017-05-27 13:42:08 +03:00