this repo has no description
at main 602 B view raw
1#!/bin/bash 2set -e 3 4SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" 5REPO_ROOT="$SCRIPT_DIR/../.." 6 7# Test key: 16 bytes (0x00-0x0f) in hex 8TEST_KEY="000102030405060708090a0b0c0d0e0f" 9 10echo "Starting Go memberlist server WITH encryption..." 11cd "$REPO_ROOT/interop" 12./memberlist-server -name go-node -port 7946 -key "$TEST_KEY" & 13GO_PID=$! 14sleep 2 15 16echo "Starting OCaml SWIM client WITH encryption..." 17cd "$REPO_ROOT" 18timeout 25 ./_build/default/bin/interop_test.exe --encrypt || true 19 20echo "Killing Go server..." 21kill $GO_PID 2>/dev/null || true 22wait $GO_PID 2>/dev/null || true 23 24echo "Done"