File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
22
33if [ -z " $GITHUB_WORKSPACE " ]; then
4- echo ' $GITHUB_WORKSPACE is not set'
5- exit 1
4+ echo ' $GITHUB_WORKSPACE is not set'
5+ exit 1
66fi
77
88if [ -z " $HOST_ROOT " ]; then
9- echo ' $HOST_ROOT is not set'
10- exit 1
9+ echo ' $HOST_ROOT is not set'
10+ exit 1
1111fi
1212
1313chroot $HOST_ROOT make -C $GITHUB_WORKSPACE /memcached \
14- -j$( nproc) PARALLEL=$( nproc) test_tls
14+ -j$( nproc) PARALLEL=$( nproc) test_tls
Original file line number Diff line number Diff line change 9090 MEMCACHED_RES=0 # Not set when command succeeds
9191 # Tests should usually take less than 4 minutes. If already taking
9292 # 5 minutes then they are probably stuck. Interrupt and re-run.
93- timeout 5m docker run -v /:/host \
93+ time timeout -s SIGKILL 5m docker run -v /:/host \
9494 -v $GITHUB_WORKSPACE/build-dir/bin/memcached.sh:/memcached.sh \
9595 -e GITHUB_WORKSPACE=$GITHUB_WORKSPACE \
9696 -e HOST_ROOT=/host \
You can’t perform that action at this time.
0 commit comments