aboutsummaryrefslogtreecommitdiff
path: root/autotests/run-tests.sh
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-02-23 01:37:02 +0100
committerTobias Fella <fella@posteo.de>2022-02-23 01:37:02 +0100
commitfb406897292184c46432ed0247ca9bdbef666f69 (patch)
treeb4101ece611e4ea85d73382992d33c2da17de59b /autotests/run-tests.sh
parentd7ecf9b839b841ca22a3611b3608801a811e7b00 (diff)
downloadlibquotient-fb406897292184c46432ed0247ca9bdbef666f69.tar.gz
libquotient-fb406897292184c46432ed0247ca9bdbef666f69.zip
Fix tests a bit
Diffstat (limited to 'autotests/run-tests.sh')
-rwxr-xr-xautotests/run-tests.sh16
1 files changed, 14 insertions, 2 deletions
diff --git a/autotests/run-tests.sh b/autotests/run-tests.sh
index 0d0a4ca3..74a8c544 100755
--- a/autotests/run-tests.sh
+++ b/autotests/run-tests.sh
@@ -1,5 +1,6 @@
mkdir -p data
chmod 0777 data
+rm ~/.local/share/testolmaccount -rf
docker run -v `pwd`/data:/data --rm \
-e SYNAPSE_SERVER_NAME=localhost -e SYNAPSE_REPORT_STATS=no matrixdotorg/synapse:v1.24.0 generate
./.ci/adjust-config.sh
@@ -14,9 +15,20 @@ trap "rm -rf ./data/*; docker rm -f synapse 2>&1 >/dev/null; trap - EXIT" EXIT
echo Waiting for synapse to start...
until curl -s -f -k https://localhost:1234/_matrix/client/versions; do echo "Checking ..."; sleep 2; done
echo Register alice
-docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice1 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice2 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice3 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice4 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice5 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice6 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice7 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice8 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u alice9 -p secret -c /data/homeserver.yaml https://localhost:8008'
echo Register bob
-docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u bob -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u bob1 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u bob2 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u bob3 -p secret -c /data/homeserver.yaml https://localhost:8008'
+docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u bob4 -p secret -c /data/homeserver.yaml https://localhost:8008'
echo Register carl
docker exec synapse /bin/sh -c 'register_new_matrix_user --admin -u carl -p secret -c /data/homeserver.yaml https://localhost:8008'