提交 dc8349d3 编写于 作者: P Paul Guo

Revert "Fix the bug that GPFDIST_WATCHDOG_TIMER doesn't work."

This reverts commit 6e76d8a1.

Saw pipeline failure in ubuntu jobs. Not look like flakiness.
上级 9e9917ab
......@@ -3611,7 +3611,6 @@ int gpfdist_init(int argc, const char* const argv[])
if (wd != NULL)
{
errno = 0;
val = strtol(wd, &endptr, 10);
if (errno || endptr == wd || val > INT_MAX)
......
......@@ -2,17 +2,10 @@
GPFDIST_PID=gpfdist.pid
export GPFDIST_WATCHDOG_TIMER=5
export GPFDIST_WATCHDOG_TIMER=3
gpfdist &
PID=$!
sleep 3
ps -p $PID
if [ $? -ne 0 ]; then
wait $PID
echo "gpfdist should be running, failed"
exit 1
fi
sleep 5
ps -p $PID
if [ $? -eq 0 ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册