This commit is contained in:
Alexander Kuzmenkov 2025-03-18 11:53:16 +01:00
parent d0e8b84e57
commit c4e1680c5a
No known key found for this signature in database
4 changed files with 4 additions and 29 deletions

View File

@ -211,15 +211,14 @@ mkdir -p ${EXE_DIR}/sql/dump
export PG_REGRESS_DIFF_OPTS
# If so configured, we run the tests with faketime utility to change the current
# time. This helps catch the mistakes with using the current time in test
# references. We can't do this for isolation tests because this breaks the
# waiting mechanism in isolation tester.
if [[ "${PG_REGRESS_USE_FAKETIME}" == "1" ]]
then
PG_REGRESS_FAKETIME="${FAKETIME}"
fi
echo --------------------------------
echo FAKETIME IS ${FAKETIME}, PG_REGRESS_FAKETIME IS ${PG_REGRESS_FAKETIME}
echo ********************************
pstree -sla $$
PG_REGRESS_OPTS="${PG_REGRESS_OPTS} --schedule=${SCHEDULE}"
${PG_REGRESS_FAKETIME} ${PG_REGRESS} "$@" ${PG_REGRESS_OPTS}

View File

@ -115,20 +115,6 @@ ${PSQL} "$@" -U $TEST_ROLE_SUPERUSER -d ${TEST_DBNAME} \
-f ${TEST_SUPPORT_FILE_INIT} >/dev/null 2>&1
export TEST_DBNAME
# FIXME
## We run the regression test with changed time using the faketime utility, to
## catch the erroneous use of now(). This breaks waiting in the isolation test
## runner, so we only do it for the pg_regress.
#PG_REGRESS_FAKETIME="${FAKETIME:-}"
#export PG_REGRESS_FAKETIME
#echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
#echo FAKETIME IS ${FAKETIME}, PG_REGRESS_FAKETIME IS ${PG_REGRESS_FAKETIME}
#echo "]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]"
#pstree -sla $$
#exit -1
# we strip out any output between <exclude_from_test></exclude_from_test>
# and the part about memory usage in EXPLAIN ANALYZE output of Sort nodes
# also ignore the Postgres rehashing catalog debug messages from 'src/backend/utils/cache/catcache.c'

View File

@ -601,10 +601,3 @@ FROM
REASSIGN OWNED BY test_cagg_refresh_policy_user TO :ROLE_CLUSTER_SUPERUSER;
REVOKE ALL ON SCHEMA public FROM test_cagg_refresh_policy_user;
DROP ROLE test_cagg_refresh_policy_user;
-- FIXME
select time_bucket('1 month', now());
time_bucket
------------------------------
Fri Feb 28 16:00:00 2025 PST
(1 row)

View File

@ -339,6 +339,3 @@ FROM
REASSIGN OWNED BY test_cagg_refresh_policy_user TO :ROLE_CLUSTER_SUPERUSER;
REVOKE ALL ON SCHEMA public FROM test_cagg_refresh_policy_user;
DROP ROLE test_cagg_refresh_policy_user;
-- FIXME
select time_bucket('1 month', now());