cockroachdb / cockroachdb/activerecord-cockroachdb-adapter

Rewrite warning related tests

Ouverte
#339 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
tests
Langage dominant
Ruby
Étoiles
105
Forks
56
Merge moyen
9 h 5 min
PR mergées (30 j)
3

Description

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:

```sql
do $$ BEGIN RAISE WARNING 'PostgreSQL SQL warning'; END; $$
```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.