Glauber Costa
3ffad6f127
tests: add sstable mutation test to the full set of regression tests
...
Signed-off-by: Glauber Costa <glommer@cloudius-systems.com >
2015-05-21 09:01:46 +02:00
Tomasz Grabiec
b5bac12a48
tests: Introduce frozen_mutation_test
2015-05-08 09:19:02 +02:00
Tomasz Grabiec
6c008d825c
tests: Add partitioner test to test.py
2015-04-30 15:39:57 +02:00
Tomasz Grabiec
ce78aef19a
tests: Introduce murmur_hash_test.cc
2015-04-30 11:16:53 +02:00
Tomasz Grabiec
b4c400612a
tests: Introduce compound_test
2015-04-28 11:03:21 +02:00
Tomasz Grabiec
af6cafd993
tests: Add test for name-based UUID generation
2015-04-17 14:22:29 +02:00
Tomasz Grabiec
426cb73983
tests: Fix misspelled path to bytes_ostream_test in test.py
2015-04-16 09:58:51 +02:00
Tomasz Grabiec
0f99570555
Introduce bytes_ostream
2015-04-15 20:33:49 +02:00
Avi Kivity
df8e8518ab
Merge branch 'master' of github.com:cloudius-systems/seastar into db
2015-04-07 17:46:41 +03:00
Avi Kivity
520a4c4135
test: add --verbose parameter to test.py for non-interactive tests
2015-04-06 13:17:14 +03:00
Calle Wilund
358c370758
Add serializer test
2015-04-01 10:08:00 +02:00
Calle Wilund
70936e5391
Hash helper test
2015-04-01 09:43:48 +02:00
Avi Kivity
a1dab20422
Merge branch 'tgrabiec/deletes' of github.com:cloudius-systems/seastar-dev into db
...
Delete support, from Tomasz.
2015-03-30 11:24:22 +03:00
Avi Kivity
4d65825f91
Merge branch 'master' of github.com:cloudius-systems/seastar into db
2015-03-30 11:23:02 +03:00
Tomasz Grabiec
a06f195774
tests: Add more existing tests to the automatic suite
2015-03-30 09:07:01 +02:00
Shlomi Livne
514bead08b
tests: Fix output bug in test.py
...
The change to add a timeout to test.py introduced a bug that caused
thestdout,stderr not to be printed in case of an error. This patch fixes
this bug.
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com >
2015-03-26 13:27:49 +02:00
Tomasz Grabiec
201aad7fb1
Merge remote-tracking branch 'seastar/master'
2015-03-25 10:29:52 +01:00
Tomasz Grabiec
dc4eb7af2d
tests: Rename map_reduce_test.cc to distributed_test.cc
2015-03-25 09:39:34 +01:00
Avi Kivity
d0705e6e82
Merge branch 'master' of github.com:cloudius-systems/seastar into db
...
Conflicts:
configure.py
2015-03-11 19:01:37 +02:00
Shlomi Livne
a10c6681e3
build: fix jenkins/boost test integration
...
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com >
2015-03-11 17:07:53 +02:00
Tomasz Grabiec
200f4698b5
tests: Add test for map_reduce()
2015-03-11 13:24:31 +01:00
Avi Kivity
713d9561e9
Merge branch 'master' of github.com:cloudius-systems/seastar into db
...
Conflicts:
configure.py
2015-03-11 10:12:38 +02:00
Shlomi Livne
820ea940ba
tests: generate a boost report file that can be parsed by jenkins
...
Boost XML report files can be parsed by Jenkins and provide a mean for
jenkins to track specific test cases status.
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com >
2015-03-11 10:03:21 +02:00
Avi Kivity
9639a7207e
Merge branch 'master' of github.com:cloudius-systems/seastar into db
...
Conflicts:
test.py
2015-03-10 13:06:02 +02:00
Amnon Heiman
810d8c88d8
Adding httpd tests
2015-03-08 21:55:57 +02:00
Shlomi Livne
d5b4ec06d6
tests: add commitlog_test
...
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com >
2015-03-08 17:46:16 +02:00
Avi Kivity
5902243dc5
Merge branch 'master' of github.com:cloudius-systems/seastar into db
...
Global adjustment due to the removal of future<>::rescue().
2015-03-05 11:00:11 +02:00
Shlomi Livne
1bf71073e6
tests: Add a timeout to limit execution time of tests
...
Support a timout to assure that we do not have run away tests
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com >
2015-03-04 15:06:20 +02:00
Glauber Costa
8015b1c1bb
sstable: unit tests
...
This tests the sstable parsing code. The tables provided as exemple are real
tables, that I was using to test my code manually.
The corrupt tables, however, are corrupted by hand.
Signed-off-by: Glauber Costa <glommer@cloudius-systems.com >
2015-02-26 12:14:20 -05:00
Avi Kivity
83430355c2
Merge branch 'master' of github.com:cloudius-systems/seastar into db
...
LICENSE moved to LICENSE.seastar, since (at least for now) urchin is
not open source.
Conflicts:
apps/seastar/main.cc
2015-02-22 16:23:59 +02:00
Avi Kivity
7f8d88371a
Add LICENSE, NOTICE, and copyright headers to all source files.
...
The two files imported from the OSv project retain their original licenses.
2015-02-19 16:52:34 +02:00
Tomasz Grabiec
6a998e2d78
tests: Add test for parsing and execution of CQL3 queries
2015-02-12 19:40:59 +01:00
Tomasz Grabiec
28915bf673
tests: Add test for applying mutations
2015-02-09 10:28:44 +01:00
Tomasz Grabiec
ee10d9b437
tests: Add test for int32_type string conversions
2015-02-09 10:28:44 +01:00
Tomasz Grabiec
f948ee79bd
test.py: Add --name filtering option
2015-02-08 10:09:29 +02:00
Tomasz Grabiec
ead03f1b08
test.py: Add --mode parameter for filtering tests
2015-02-08 10:09:29 +02:00
Avi Kivity
fff2920c55
tests: disable address sanitizer alloc/dealloc mismatch test
...
Generates false positive with new (with_alignment(...)) ...
2015-01-20 12:21:41 +02:00
Avi Kivity
4c3eb49aaf
tests: add smp test
...
Test calling a function, and calling a function that returns an exception.
The second test verifies that cross cpu free works.
2015-01-15 15:19:02 +02:00
Tomasz Grabiec
cbe6169d36
test.py: speed up allocator test when running tests in fast mode
2014-12-03 13:15:09 +01:00
Avi Kivity
8e47ed8b06
tests: whitelist allocator_test
2014-11-15 12:19:37 -08:00
Tomasz Grabiec
05d89f1ab9
tests: add output_stream_test
2014-11-15 12:11:11 -08:00
Tomasz Grabiec
42b20cdad1
test.py: print output from test on error
2014-11-13 22:22:01 +02:00
Pekka Enberg
6723c0cbdd
apps/memcache => apps/memcached
...
The protocol is called the "memcache protocol" but the server should
follow the same naming convention as httpd does.
It should not be a big deal but it annoys the hell out of simple people
like myself who have their brain hard-wired to type the final "d"...
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2014-10-21 17:30:14 +03:00
Tomasz Grabiec
09faeff196
tests: distinguish between fast and slow tests
...
Most of the tests are fast and they cover most of the
functionality. The slow minority of tests takes significantly more
time to run. Developers should run tests frequently in order to get
feedback on correctness of their changes. The test runner
distinguishes now between fast and slow tests. When given '--fast'
switch it skips tests marked as slow.
$ time ./test.py
[8/8] PASSED tests/memcache/test.py --mode release
OK.
real 0m33.084s
user 0m0.501s
sys 0m0.271s
$ time ./test.py --fast
[8/8] PASSED tests/memcache/test.py --mode release --fast
OK.
real 0m1.012s
user 0m0.464s
sys 0m0.247s
2014-10-18 12:59:50 +02:00
Tomasz Grabiec
45772b9ab7
test.py: run memcache with --smp 1
...
It doesn't support more than one CPU yet. The symptom is that TCP
connections will have a chance of hanging when they're routed to the
CPU on which memcache doesn't run.
2014-10-16 09:11:08 +02:00
Tomasz Grabiec
50feeef580
tests: memcache: introduce end-to-end tests
...
These tests exercise memcache instance using a real client. The
test_memcache.py suite can be run against any memcache instance which
conforms to the ASCII protocol.
2014-10-15 15:59:42 +02:00
Tomasz Grabiec
6a31f3762c
tests: memcache: add test for ASCII parser
2014-10-15 15:59:42 +02:00
Tomasz Grabiec
c4d18b6ae6
tests: introduce test runner script
...
To run all unit tests:
$ ./test.py
[3/6] RUNNING build/release/tests/sstring_test
2014-10-15 15:50:46 +02:00