Skip to content

heartbeatraces tests

Guy M. Allard edited this page Apr 24, 2015 · 2 revisions

Heartbeat race test script used locally.

#!/bin/sh
#
set -x
# AMQ - 1.1
pref="STOMP_PORT=61613 STOMP_TEST11p=1.1 STOMP_HB11LONG=y STOMP_AMQ11=y go test -v -race -timeout 10m30s -run TestHB11"
echo =============== AMQ 1.1 ===============
eval $pref

# AMQ - 1.2
pref="STOMP_PORT=61613 STOMP_TEST11p=1.2 STOMP_HB11LONG=y STOMP_AMQ11=y go test -v -race -timeout 10m30s -run TestHB11"
echo =============== AMQ 1.2 ===============
eval $pref

# Apollo - 1.1
pref="STOMP_PORT=62613 STOMP_TEST11p=y STOMP_HB11LONG=y STOMP_APOLLO=y go test -v -race -timeout 10m30s -run TestHB11"
echo =============== Apollo 1.1 ===============
eval $pref

# Apollo - 1.2
pref="STOMP_PORT=62613 STOMP_TEST11p=1.2 STOMP_HB11LONG=y STOMP_APOLLO=y go test -v -race -timeout 10m30s -run TestHB11"
echo =============== Apollo 1.2 ===============
eval $pref

# Rabbitmq - 1.1
pref="STOMP_TEST11p=1.1 STOMP_RMQ=y STOMP_PORT=41613 STOMP_HB11LONG=y go test -v -race -timeout 10m30s -run TestHB11"
echo =============== RMQ 1.1 ===============
eval $pref

# Rabbitmq - 1.2
pref="STOMP_TEST11p=1.2 STOMP_RMQ=y STOMP_PORT=41613 STOMP_HB11LONG=y go test -v -race -timeout 10m30s -run TestHB11"
echo =============== RMQ 1.2 ===============
eval $pref

set +x
exit 0
Clone this wiki locally