mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 07:01:01 +00:00
At some point the cluster code was modified to do 120 tries to confirm if a node was down which is a bit excessive for production. My understanding is that this was done to help trigger or fix a problem during testing which is hopefully no longer relevant. Also changed the tournament script to use what I think are more standard bash-isms that work on mac. Please confirm this still works on Linux as well.
13 lines
548 B
Bash
Executable file
13 lines
548 B
Bash
Executable file
#!/bin/bash
|
|
|
|
## tournament.sh runs a sequence of duels between greens and blues.
|
|
## Each test run changes the PILOSA_TXSRC and runs either
|
|
## one or two backends through the rigors of make testv-race.
|
|
## logs are saved to the tourna.log.${i} files.
|
|
|
|
for i in rbf lmdb roaring rbf_lmdb rbf_roaring lmdb_rbf lmdb_roaring roaring_rbf roaring_lmdb ; do
|
|
echo "$(date) starting ${i}, output to tourna.log.${i}"
|
|
echo "***=== ${i} ====================*** $(date)" &> tourna.log.${i}
|
|
PILOSA_TXSRC=${i} make testv-race 2>&1 > tourna.log.${i}
|
|
done
|
|
|