#!/bin/bash
echo "# refreshing connections"
result=0
orchestrator-client -c all-instances | while read i ; do
  test-retry orchestrator-client -c flush-binary-logs -i $i > /dev/null 2>&1 || result=1
done
exit $result
