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

Rewrite warning related tests #339

Open
7 tasks
BuonOmo opened this issue Sep 2, 2024 · 0 comments
Open
7 tasks

Rewrite warning related tests #339

BuonOmo opened this issue Sep 2, 2024 · 0 comments
Labels

Comments

@BuonOmo
Copy link
Collaborator

BuonOmo commented Sep 2, 2024

These tests are based on PL-PGSQL usage, triggering warnings. They do not working with the CRDB compatible PL-PGSQL. We need to rewrite them.

  • test_ignores_warnings_when_behaviour_ignore
  • test_logs_warnings_when_behaviour_log
  • test_raises_warnings_when_behaviour_raise
  • test_reports_when_behaviour_report
  • test_warnings_behaviour_can_be_customized_with_a_proc
  • test_allowlist_of_warnings_to_ignore
  • test_allowlist_of_warning_codes_to_ignore

This is the failing PL-PGSQL:

do $$ BEGIN RAISE WARNING 'PostgreSQL SQL warning'; END; $$
@BuonOmo BuonOmo added the tests label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant