]> Untitled Git - lemmy.git/blobdiff - api_tests/run-federation-test.sh
Enhanced testing of comments. Validate reply notifications, mentions (#3686)
[lemmy.git] / api_tests / run-federation-test.sh
index d624f9c25a45b1775f769477c5395909acddb64a..f611cce65726e08e719d6b002bf0c995c8f0347a 100755 (executable)
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/usr/bin/env bash
 set -e
 
 export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432
-
+export LEMMY_SYNCHRONOUS_FEDERATION=1 # currently this is true in debug by default, but still.
 pushd ..
-cargo +1.47.0 build
+cargo build
 rm target/lemmy_server || true
 cp target/debug/lemmy_server target/lemmy_server
 ./api_tests/prepare-drone-federation-test.sh
@@ -13,8 +13,6 @@ popd
 yarn
 yarn api-test || true
 
-killall lemmy_server
-
 for INSTANCE in lemmy_alpha lemmy_beta lemmy_gamma lemmy_delta lemmy_epsilon; do
   psql "$LEMMY_DATABASE_URL" -c "DROP DATABASE $INSTANCE"
 done