Skip to content

Commit 346b1f4

Browse files
committed
chore: debug
1 parent 88ce709 commit 346b1f4

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

test/cluster/test_random.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ _test() {
6767
ps -ef|grep geese
6868
ps -ef|grep s3proxy
6969

70+
(for i in $(seq 100); do ps aux --sort=-%mem | grep -e java -e tigrisfs; sleep 7; done) &
71+
7072
for I in $(seq 0 "$NUM_ITER"); do
7173
echo "=== Iteration $I"
7274
MNT=$(echo -e "$MNT1\n$MNT2\n$MNT3" | shuf -n 1)

test/run-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ if [ "$TIMEOUT" != "" ]; then
2929
TIMEOUT="-test.timeout $TIMEOUT"
3030
fi
3131

32+
(for i in $(seq 100); do ps aux --sort=-%mem |grep -e java -e tigrisfs; sleep 7; done) &
33+
3234
# run test in `go test` local mode so streaming output works
3335
cd core
3436
CGO_ENABLED=1 go test -race -v $TIMEOUT -check.vv $T

test/run-xfstests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ sed 's/\/home\/tigrisfs\/xfstests/$(pwd)/' <test/xfstests.config >xfstests/local
3636

3737
cp test/sync_unmount.py xfstests/
3838

39+
(for i in $(seq 100); do ps aux --sort=-%mem |grep -e java -e tigrisfs; sleep 7; done) &
40+
3941
cd xfstests
4042
sudo apt-get -y install xfslibs-dev uuid-dev libtool-bin \
4143
e2fsprogs automake gcc libuuid1 quota attr make \

0 commit comments

Comments
 (0)