!3424 优化fastcheck用例 event_dump_audit

Merge pull request !3424 from 周聪/dev_fastcheck
This commit is contained in:
opengauss-bot
2023-05-08 08:18:51 +00:00
committed by Gitee
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ create database event_audit_b with dbcompatibility 'b';
drop event if exists e;
show audit_system_object;
create event e on schedule at '3000-01-01 00:00:00' disable do select 1;
select pg_sleep(10);
select pg_sleep(1);
select detail_info from pg_query_audit(trunc((localtimestamp - interval '1' minute), 'second'), trunc(localtimestamp, 'second'))
where database = 'event_audit_b' AND type='ddl_event';
drop event if exists e;

View File

@ -14,7 +14,7 @@ show audit_system_object;
(1 row)
create event e on schedule at '3000-01-01 00:00:00' disable do select 1;
select pg_sleep(10);
select pg_sleep(1);
pg_sleep
----------