Skip to content

Commit 8d24ea0

Browse files
committed
fixci
1 parent c245ae7 commit 8d24ea0

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

tests/integration/start_codis.sh

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ rm -rf /tmp/codis || true
99
rm -rf codis_data_1 || true
1010
rm -rf codis_data_2 || true
1111

12-
# Clean up temporary directories in codis to free space
13-
rm -rf ../codis/bin || true
12+
# Clean up log directory in codis to free space, but keep bin directory
13+
# to preserve existing codis binaries
1414
rm -rf ../codis/log || true
1515
mkdir -p ../codis/bin
1616
mkdir -p ../codis/log
@@ -77,16 +77,7 @@ free -h || true
7777

7878
cd ../codis
7979
echo "Building codis..."
80-
81-
# Free up memory before building
82-
echo "Clearing caches to free up memory..."
83-
sync
84-
if [ $(id -u) -eq 0 ]; then
85-
echo 3 > /proc/sys/vm/drop_caches || true
86-
fi
87-
88-
# Limit parallel jobs during make to reduce memory usage
89-
make -j2
80+
make
9081

9182
echo 'startup codis dashboard and codis proxy'
9283
./admin/codis-dashboard-admin.sh start

0 commit comments

Comments
 (0)