memgraph/tests
János Benjamin Antal ac230d0c2d Add basic queries for managing streams (#179)
* Add CREATE, START, STOP and DROP queries

* Fix definition of port in replica query

* Explicitly stop the consumer before removing

* Fix offset committing in Consumer

* Add tests for basic stream queries

* Remove unnecessary WITH keywords from CREATE query

* Add tests

* Add STREAM privilege

* Disable not working test

The functionality is tested manually, but I couldn't make it work with
the mock kafka cluster.

* Add support for multiple topic names

* Replace skiplist by synchronized map

* Make Consumer::Test const and improve error handling

The improvement in the error handling is mostly done regarding to the
Test function. Instead of trying to revert the assignments, Test just
stores the last commited assignment. When Start or Test is called, they
check for the last commited assignments, and if it is saved, then they
try to restore it. This way:
1. All the failures are returned to the user (failed to save/restore)
2. Failed assignment cannot terminate Memgraph

* Make Test do not block creating/droping other streams
2021-07-07 16:08:22 +02:00
..
benchmark Add Streams on top of Kafka Consumer (#172) 2021-07-07 15:57:36 +02:00
concurrent Other predefined variables (#143) 2021-05-26 14:13:14 +02:00
drivers Remove v1 driver test for python (#109) 2021-03-16 11:42:36 +01:00
e2e Multiple isolation levels (#171) 2021-06-14 15:47:57 +02:00
gql_behave Clean and upgrade openCypher and stress tests (#27) 2020-11-24 13:09:14 +01:00
integration Fix Centos8 build (#126) 2021-03-26 12:05:58 +01:00
jepsen Load WAL on replica using transactions (#95) 2021-06-16 13:22:48 +02:00
macro_benchmark Format all the memgraph and test source files (#97) 2021-02-18 15:32:43 +01:00
manual Add Streams on top of Kafka Consumer (#172) 2021-07-07 15:57:36 +02:00
mgbench Format all the memgraph and test source files (#97) 2021-02-18 15:32:43 +01:00
property_based Format all the memgraph and test source files (#97) 2021-02-18 15:32:43 +01:00
public_benchmark Remove leftover Apollo files (#1) 2020-09-21 14:58:52 +02:00
stress Format all the memgraph and test source files (#97) 2021-02-18 15:32:43 +01:00
unit Add basic queries for managing streams (#179) 2021-07-07 16:08:22 +02:00
.clang-tidy Add .clang-tidy for tests and update the config 2019-10-31 16:07:09 +01:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Add end2end replication tests based on mgclient (#69) 2021-01-21 15:56:21 +01:00
setup.sh Fix Centos build (#79) 2021-01-24 08:17:21 +01:00