mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 00:39:31 +08:00
cat iptb logs on iptb failure (for debugging CI)
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
@ -17,6 +17,17 @@ check_has_connection() {
|
|||||||
grep "ipfs" "swarm_peers_$node" >/dev/null
|
grep "ipfs" "swarm_peers_$node" >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iptb() {
|
||||||
|
if ! command iptb "$@"; then
|
||||||
|
case "$1" in
|
||||||
|
start|stop|connect)
|
||||||
|
test_fsh command iptb logs '*'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
startup_cluster() {
|
startup_cluster() {
|
||||||
num_nodes="$1"
|
num_nodes="$1"
|
||||||
shift
|
shift
|
||||||
|
Reference in New Issue
Block a user