Skip to content

Commit 24208eb

Browse files
committed
Debug
1 parent 6a1e1fe commit 24208eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/pgslice_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def assert_period(period, column: "createdAt", trigger_based: false, tablespace:
120120

121121
run_command "analyze Posts"
122122
last_analyzed = $conn.exec("SELECT relname, EXTRACT(EPOCH FROM NOW() - last_analyze) AS last_analyzed FROM pg_stat_all_tables WHERE relname LIKE 'Posts_%'").to_a
123+
pp last_analyzed
123124
assert_equal 4, last_analyzed.size
124125
assert last_analyzed.all? { |v| v["last_analyzed"]&.to_f < 0.01 }
125126

0 commit comments

Comments
 (0)