Skip to content

Commit 6f2e1f5

Browse files
committed
test(notary): stabilize retention expiry fixture
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
1 parent 6dd7fa0 commit 6f2e1f5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • crates/registry-notary-server/src/state_plane/migration

‎crates/registry-notary-server/src/state_plane/migration/tests.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2866,9 +2866,9 @@ async fn assert_retention_contract(
28662866
decode(repeat('c9', 32), 'hex'),
28672867
decode(repeat('ca', 12), 'hex'),
28682868
decode(repeat('cb', 17), 'hex'),
2869-
clock_timestamp() + lifetime,
2870-
clock_timestamp() + lifetime,
2871-
clock_timestamp() + lifetime,
2869+
pg_catalog.statement_timestamp() + lifetime,
2870+
pg_catalog.statement_timestamp() + lifetime,
2871+
pg_catalog.statement_timestamp() + lifetime,
28722872
clock_timestamp() - interval '2 seconds'
28732873
FROM (VALUES
28742874
('c0', 'c1', 'c2', 'c3', interval '-1 second'),

0 commit comments

Comments
 (0)