Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified a function-alert test. #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/expected/function-alert.out
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
UPDATE 1
alert
--------------------------------------------------------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions test/script/function-alert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ UPDATE statsrepo.alert SET disk_remain_percent = default;
UPDATE statsrepo.alert SET (loadavg_1min, loadavg_5min, loadavg_15min) = (default, default, default);
UPDATE statsrepo.alert SET swap_size = default;
UPDATE statsrepo.tablespace SET (avail, total) = (1.9*1024^3, 10*1024^3) WHERE name = 'pg_default' AND snapid = 2;
UPDATE statsrepo.tablespace SET (avail, total) = (9.0*1024^3, 10*1024^3) WHERE name = 'pg_global' AND snapid = 2;
UPDATE statsrepo.loadavg SET (loadavg1, loadavg5, loadavg15) = (7.1, 6.1, 5.1) WHERE snapid = 2;
UPDATE statsrepo.memory SET swap = 1000001 WHERE snapid = 2;
EOF
Expand Down