mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-30 17:51:18 +08:00
Fixed CI
This commit is contained in:
@@ -34,6 +34,10 @@ $node->pgbench(
|
||||
|
||||
sub idx_scan
|
||||
{
|
||||
# stats do not update instantaneously
|
||||
# https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-STATS-VIEWS
|
||||
sleep(1);
|
||||
$node->safe_psql("postgres", "SELECT pg_stat_clear_snapshot();");
|
||||
$node->safe_psql("postgres", "SELECT idx_scan FROM pg_stat_user_indexes WHERE indexrelid = 'tst_v_idx'::regclass;");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user