122c716f53
Bump the required Visual Studio version to VS2015.
2016-09-07 20:34:20 +03:00
e766de86a8
More fileio regression tests.
2016-09-07 20:09:47 +03:00
f370168792
Look for sysbench in $PWD/../sysbench in addition to other directories.
2016-09-07 11:35:11 +03:00
02aac59372
Print more info in test_run.sh to diagnose Travis failures.
2016-09-07 11:14:10 +03:00
7418441572
Move tests into a separate subdirectory.
...
Move regression tests into a separate subdirectory. Update README in
tests and covert it from org-mode to markdown. Also add 'make distcheck'
to Travis CI testing.
2016-09-07 10:37:15 +03:00
e90cefada1
Mask version in test_fileio.t on cleanup.
2016-09-07 08:54:29 +03:00
3627f7212e
Fix fileio test to work with wc output format on Linux.
2016-09-07 08:42:15 +03:00
58e71ed23f
Basic fileio regression test.
2016-09-07 08:34:07 +03:00
687256377e
Fix typo in an error message.
2016-09-07 07:57:28 +03:00
7aa3f2d5ca
Test driver-specific option descriptions separately from the main help text.
2016-09-05 22:54:03 +03:00
ce63f867bf
Basic command tests.
2016-09-05 19:22:34 +03:00
c1c84148f4
Add Coverage Status shield from coveralls.io.
2016-09-05 16:08:23 +03:00
e4c723d2fe
Ignore Gcov-generated files.
2016-09-05 16:00:28 +03:00
61ad663b65
Add coveralls.io integration.
2016-09-05 15:59:44 +03:00
f366d873b3
Fix branch name in Travis CI integration.
2016-09-05 14:53:16 +03:00
ce4996c536
Backport Travis CI support from 1.0.
2016-09-05 14:51:05 +03:00
0169adc09f
Add tests/include/config.h.in.
2016-09-05 10:45:04 +03:00
8fc9357cf0
Add version.t test + some necessary test harness improvements.
2016-09-05 10:39:47 +03:00
6d5bba1fe6
Basic support for functional/regression testing.
2016-09-04 20:24:07 +03:00
755a61b6cf
s/README/README.md/ in top-level Makefile.am.
2016-09-04 15:31:38 +03:00
c843e4fe0f
Update .gitignore.
2016-09-04 15:30:27 +03:00
cbd1417cba
Make --oltp-read-only=on and --oltp-write-only=on mutually exclusive.
2016-09-03 14:47:17 +03:00
4059bec02f
Merge pull request #62 from pfriedenbach/0.5
...
Added three additional oltp controls (oltp-range-selects, oltp-delete-inserts, oltp-write-only)
2016-09-03 15:31:09 +04:00
7a37c6467a
Added oltp-write-only control
...
Added oltp-write-only : Specifies a test to consist of write only statements (insert, update, and deletes).
2016-09-01 11:26:06 -07:00
c29fc04e00
Merge pull request #59 from jeremycole/0.5
...
Create indexes after data load in parallel_prepare
2016-08-24 00:33:03 +04:00
9e4a9d4cf5
Create indexes after data load in parallel_prepare
...
Creating indexes after the data has been loaded is much faster.
2016-08-23 13:21:35 -07:00
00eb404a86
Fix --with-mysql-libs for MySQL 5.7.
...
Don't use the hard-coded libmysqlclient_r name for the client library,
because it is obsolete in 5.7. Instead, if the client library path is
specified explicitly with --with-mysql-libs, try both libmysqlclient_r
and libmysqlclient in that order.
2016-07-28 10:00:37 +03:00
a099b20f2c
Fixes #57 : Race condition in sb_timer_value()
...
Avoid updating the timer state in sb_timer_value() to make it safe for
concurrent usage on a shared timer.
2016-07-21 12:27:35 +03:00
ae96664c1f
Merge pull request #52 from sectorsize512/0.5
...
Adding volatile modifier to tmp variable in memory test
2016-06-10 23:29:41 +04:00
8753cb93be
Adding volatile modifier to tmp variable in memory test
...
Issue explanation:
./sysbench/sysbench --test=memory --num-threads=16 \
--memory-block-size=268435456 \
--memory-total-size=137438953472 \
--memory-oper=read \
--memory-access-mode=seq \
--memory-scope=local run
Without this commit the time to run the above command is 0.0004 seconds.
With this commit the time is greater than 3 seconds. Essentially,
without the volatile modifier, the compiler optimizes read access so
that no real access happens.
2016-06-10 14:33:48 -04:00
3c22365b80
Fix crash introduced by commit 9244fcf.
...
There was a regression introduced by commit regression resulting a
double release of mutex in script_lua.c.
2016-06-09 19:55:22 +03:00
9244fcf14c
Don't lock thread mutex unnecessarily in script_lua.c and sb_cpu.c.
...
script_lua.c and sb_cpu.c do not actually need to lock any mutexes when
the test duration is not limited by the number of events.
2016-05-31 09:39:48 +03:00
09e5f7e93b
Merge pull request #50 from espinaemmanuel/0.5
...
Added locking to get_request in lua scripting
2016-05-31 10:14:38 +04:00
343664e950
added locking to get_request in lua scripting
2016-05-30 11:52:17 -07:00
c8b7d30619
Merge pull request #49 from faridz88/patch-1
...
Duplicate line
2016-05-24 13:52:57 +04:00
41be58594d
Duplicate line
...
Removing duplicate line
2016-05-24 14:18:08 +04:30
56fe389762
Fixes #44 : seqwr deleting test files
...
Re-create files after removing them when starting a --file-test-mode=seqwr benchmark.
2016-05-04 23:07:37 +03:00
64aaf37aa4
Merge pull request #35 from Percona-Lab/0.5
...
Fix for parallel_prepare
2016-04-14 14:46:34 +04:00
4190ad29b7
adjust event generation for a high volume
2016-04-10 19:59:06 -04:00
f1bc151b58
Merge pull request #1 from akopytov/0.5
...
Merge upstream
2016-04-08 10:38:50 -07:00
cb9a2cdc29
Revert "Fix the issue when threads running < num_threads"
...
This reverts commit 06aa4d2d6b16a5c6fac5884681bd32d12f47ef34.
2016-04-08 17:34:50 +00:00
5d87570f6b
Fix prepare parallel for new thread initialization
2016-03-24 22:57:49 -04:00
26d5046cc9
Fixes #29 : FATAL: Failed to read file! file: 24 pos: 14516224 errno = 0 (Success)
...
Fail when test files do not exist for `sysbench --test=fileio run`,
i.e. when they have not been prepared with `sysbench prepare`.
2016-03-22 21:09:41 +03:00
57e62669b9
Fixes #25 : Include database-related command line options in help
...
Call db_print_help() from print_help() + some cosmetic help changes.
2016-03-18 12:50:41 +03:00
1b5e5619cc
Fix barrier error reporting.
2016-03-18 00:17:36 +03:00
2cdd46e2a2
Fixes #22 : Timers and reporting thread should wait for worker thread to be initialized
...
A barrier is now used by worker and background threads and the main
thread to make sure all threads have initialized before executing
events. If some threads fail to initialize within a timeout (hard-coded
to 30 seconds for now), bail out with an error message.
2016-03-17 15:36:23 +03:00
06aa4d2d6b
Fix the issue when threads running < num_threads
2016-03-17 00:28:43 -04:00
1c812ad6dd
Fixes #17 : Lua script without DB access crashes sysbench.
...
Only call sb_percentile_update() if the DB driver has been initialized.
2016-02-23 11:58:28 +08:00
288aec57a1
Update copyrights and FSF address.
2016-02-21 23:39:18 +08:00
c451cd963b
Update GPLv2 text in COPYING with the current version from https://gnu.org/licenses/gpl-2.0.txt .
2016-02-21 23:39:08 +08:00