aboutsummaryrefslogtreecommitdiff
path: root/test/docker/README.md
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-18 19:31:12 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-18 19:31:12 +0300
commit3f7d9e3ad6e63b43da5670090c8f72329f536f3e (patch)
treed3dec9ca0814ce4ebb36e234fbfc25b9b3f72470 /test/docker/README.md
parentMention about a few Riak tests being broken (diff)
Remove Riak support
Reasons: - Riak DB development is almost halted after Basho - riak-erlang-client is abandoned and doesn't work correctly with OTP22 - Riak is slow in comparison to other databases - Missing key ordering makes it impossible to implement range queries efficiently (e.g. MAM queries)
Diffstat (limited to 'test/docker/README.md')
-rw-r--r--test/docker/README.md14
1 files changed, 2 insertions, 12 deletions
diff --git a/test/docker/README.md b/test/docker/README.md
index c0abd6073..22324a6e0 100644
--- a/test/docker/README.md
+++ b/test/docker/README.md
@@ -4,13 +4,12 @@
You can start the Docker environment with Docker Compose, from ejabberd repository root.
-The following command will launch MySQL, PostgreSQL, Redis and Riak, and keep the console
+The following command will launch MySQL, PostgreSQL, Redis and keep the console
attached to it.
```
mkdir test/docker/db/mysql/data
mkdir test/docker/db/postgres/data
-mkdir test/docker/db/riak/data
(cd test/docker; docker-compose up)
```
@@ -18,7 +17,7 @@ You can stop all the databases with CTRL-C.
## Running tests
-Before running the test, you can ensure there is no running instance of Erlang common test tool. You can run the following
+Before running the test, you can ensure there is no running instance of Erlang common test tool. You can run the following
command, especially if all test are skipped with an `eaddrinuse` error:
```
@@ -31,14 +30,6 @@ You can run tests with (from ejabberd repository root):
make test
```
-At the moment, starting from Erlang 21, some Riak tests are broken because Riak client is not compliant with OTP 21+.
-
-To run everything except Riak tests, you can use the following command:
-
-```
-CT_BACKENDS=mnesia,redis,mysql,pgsql,sqlite,ldap,extauth rebar ct suites=ejabberd
-```
-
## Cleaning up the test environment
You can fully clean up the environment with:
@@ -52,5 +43,4 @@ If you want to clean the data, you can remove the data directories after the `do
```
rm -rf test/docker/db/mysql/data
rm -rf test/docker/db/postgres/data
-rm -rf test/docker/db/riak/data
```