Calle Wilund
6cf2230cb6
Add batchlog_manager_test
...
Very simple, and limited, but at least checks that very basic
replay works.
2015-07-08 10:59:57 +02:00
Calle Wilund
c5f6348572
test.py: add query_processor_test to list
...
Signed-off-by: Calle Wilund <calle@cloudius-systems.com >
2015-07-07 18:12:22 +03:00
Avi Kivity
e0d0a7223b
Merge seastar upstream
2015-07-05 19:11:51 +03:00
Avi Kivity
b67cded40d
tests: print error code for failed test
2015-07-05 17:50:53 +03:00
Vlad Zolotarov
d1d8cae95e
tests: network_topology_strategy_test
...
Unit test for NetworkTopologyStrategy class.
Creates a dummy cluster topology: token ring, token_metadata, snitch (RackInferringSnitch).
Then requests a natural endpoints for tokens that lay between each two adjacent ring tokens
and verifies the output.
It also checks the natural_endpoints caching:
1) Verifies that the result is calculated when we query the specific token_ring point
for the first time.
2) Verifies that the result is taken from the cache when we query the specific token_ring
point for the second time.
3) Verifies that the results in (1) and (2) are identical.
4) Verifies that the cache is invalidated after token_metadata::invalidate_cached_rings()
is called.
Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com >
2015-06-29 18:50:55 +03:00
Avi Kivity
a7580f5dab
Merge seastar upstream
...
Conflicts:
test.py
2015-06-28 19:43:28 +03:00
Avi Kivity
ab63138134
tests: add fileiotest to regression test suite
2015-06-28 14:39:17 +03:00
Avi Kivity
0365f3bb53
Merge seastar upstream
2015-06-24 11:35:40 +03:00
Avi Kivity
27b0200912
tests: don't mix up stdout and the xml log
...
Can result in corrupted xml.
2015-06-24 09:33:55 +03:00
Tomasz Grabiec
d11773bc14
tests: Introduce row cache test
2015-06-23 13:49:24 +02:00
Avi Kivity
cbd0be5a68
Merge seastar upstream
2015-06-23 10:46:39 +03:00
Shlomi Livne
f458d6c54a
tests: generate seperate boost xml output files
...
The single generated file is corrupted from time to time. Switch to use
multiple files in the hope that this will resolve the issue.
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com >
2015-06-23 10:26:24 +03:00
Avi Kivity
971c116207
Merge seastar upstream
2015-06-21 08:08:42 +03:00
Avi Kivity
033d919eaa
tests: add missing tests to test.py
2015-06-20 11:30:13 +03:00
Tomasz Grabiec
370712f741
tests: Add mutation_reader_test
2015-06-18 15:47:40 +02:00
Avi Kivity
2b282d3553
Merge seastar upstream
2015-06-17 10:55:27 +03:00
Shlomi Livne
4399aaba68
tests: fix bug of not handling stderr pipe in test.py
2015-06-17 09:54:55 +03:00
Shlomi Livne
78f37b25b8
tests: update test.py to use a temporary file for test stdout
...
When using boost --output-format=XML flag for jenkins the output file is
garbled - it seems that some output is lost. To try and overcome this
changed impl to use a temporay file instead of a PIPE.
Signed-off-by: Shlomi Livne <shlomi@cloudius-systems.com >
2015-06-16 19:38:12 +03:00
Vlad Zolotarov
dc732d95d5
gossiping_property_file_snitch_test: Checks parsing facilities of gossiping_property_file_snitch class
...
Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com >
New in v2:
- Added "missing declarations" tests
- tests/urchin/snitch_property_files: renamed: s/-/_/
- Reworked to use boost testing facilities
- Use snitch::stop().
2015-06-09 15:33:38 +03:00
Avi Kivity
b96f2d4cee
Merge seastar upstream
2015-06-08 12:02:05 +03:00
Avi Kivity
89115e8da2
tests: whitelist thread_test
2015-06-07 14:31:26 +03:00
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