Skip to content

Commit

Permalink
add comment to tests. add new line at the end of new test
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMurloc committed Dec 27, 2023
1 parent 2a2ed36 commit df6ef6f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/regress/expected/test_activetable_limit.out
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ INSERT INTO a02 values(generate_series(0, 500));
INSERT INTO a03 values(generate_series(0, 500));
\c test_tablenum_limit_02
CREATE EXTENSION diskquota;
-- we only read the current log file
CREATE EXTERNAL WEB TABLE segment_logs(line text)
EXECUTE 'cat $GP_SEG_DATADIR/pg_log/$(ls -Art $GP_SEG_DATADIR/pg_log | tail -n 1)'
ON ALL FORMAT 'TEXT' (DELIMITER 'OFF');
Expand Down
1 change: 1 addition & 0 deletions tests/regress/expected/test_rejectmap_limit.out
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ SELECT diskquota.wait_for_worker_new_epoch();
t
(1 row)

-- we only read the current log file
CREATE EXTERNAL WEB TABLE master_log(line text)
EXECUTE 'cat $GP_SEG_DATADIR/pg_log/$(ls -Art $GP_SEG_DATADIR/pg_log | tail -n 1)'
ON MASTER FORMAT 'TEXT' (DELIMITER 'OFF');
Expand Down
2 changes: 1 addition & 1 deletion tests/regress/sql/test_activetable_limit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ INSERT INTO a03 values(generate_series(0, 500));

\c test_tablenum_limit_02
CREATE EXTENSION diskquota;

-- we only read the current log file
CREATE EXTERNAL WEB TABLE segment_logs(line text)
EXECUTE 'cat $GP_SEG_DATADIR/pg_log/$(ls -Art $GP_SEG_DATADIR/pg_log | tail -n 1)'
ON ALL FORMAT 'TEXT' (DELIMITER 'OFF');
Expand Down
3 changes: 2 additions & 1 deletion tests/regress/sql/test_rejectmap_limit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ CREATE DATABASE test_reject_map_limit_01;
\c test_reject_map_limit_01
CREATE EXTENSION diskquota;
SELECT diskquota.wait_for_worker_new_epoch();
-- we only read the current log file
CREATE EXTERNAL WEB TABLE master_log(line text)
EXECUTE 'cat $GP_SEG_DATADIR/pg_log/$(ls -Art $GP_SEG_DATADIR/pg_log | tail -n 1)'
ON MASTER FORMAT 'TEXT' (DELIMITER 'OFF');
Expand Down Expand Up @@ -51,4 +52,4 @@ DROP EXTENSION diskquota;
DROP DATABASE test_reject_map_limit_01;

\! gpconfig -r diskquota.max_reject_entries > /dev/null
\! gpstop -arf > /dev/null
\! gpstop -arf > /dev/null

0 comments on commit df6ef6f

Please sign in to comment.