Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMurloc committed Dec 26, 2023
1 parent f65bddd commit 58acb43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/regress/expected/test_rejectmap_limit.out
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ SELECT diskquota.wait_for_worker_new_epoch();
t
(1 row)

INSERT INTO s5.a SELECT generate_series(1,10); -- should be successful
SELECT count(*) FROM master_log WHERE line LIKE '%the number of local quota reject map entries reached the limit%' AND line NOT LIKE '%LOG%';
count
-------
1
(1 row)

INSERT INTO s5.a SELECT generate_series(1,10); -- should be successful
DROP EXTENSION diskquota;
\c contrib_regression
DROP DATABASE test_reject_map_limit_01;
Expand Down
4 changes: 2 additions & 2 deletions tests/regress/sql/test_rejectmap_limit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ INSERT INTO s5.a SELECT generate_series(1,100000);

SELECT diskquota.wait_for_worker_new_epoch();

SELECT count(*) FROM master_log WHERE line LIKE '%the number of local quota reject map entries reached the limit%' AND line NOT LIKE '%LOG%';

INSERT INTO s5.a SELECT generate_series(1,10); -- should be successful

SELECT count(*) FROM master_log WHERE line LIKE '%the number of local quota reject map entries reached the limit%' AND line NOT LIKE '%LOG%';

DROP EXTENSION diskquota;

\c contrib_regression
Expand Down

0 comments on commit 58acb43

Please sign in to comment.