SIGN IN SIGN UP

test(sqlite3): add uninstrument, error status, suppress, and no-op tests (#4335)

* test(sqlite3): add uninstrument, error, suppress, and no-op tests

Signed-off-by: Artem Muterko <artem@sopho.tech>
Signed-off-by: Artem Muterko <artieua@gmail.com>

* test(sqlite3): address review feedback and add CHANGELOG

- Add _connect helper with addCleanup for proper resource teardown
- Rename test_uninstrument_connection to test_uninstrument_connection_with_instrument for consistency with psycopg2
- Use same query before and after uninstrumenting
- Clear memory exporter and assert zero spans after uninstrument
- Use sqlite3.OperationalError instead of generic Exception
- Add span.status.description assertion for error test
- Add CHANGELOG entry

Signed-off-by: Artem Muterko <artem@sopho.tech>
Signed-off-by: Artem Muterko <artieua@gmail.com>

* test(sqlite3): add additional tests

Signed-off-by: Artem Muterko <artem@sopho.tech>
Signed-off-by: Artem Muterko <artieua@gmail.com>

* Update CHANGELOG.md

---------

Signed-off-by: Artem Muterko <artem@sopho.tech>
Signed-off-by: Artem Muterko <artieua@gmail.com>
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
A
Archy committed
01580266c73d6737613ffad5706d505c71998026
Parent: 3ece058
Committed by GitHub <noreply@github.com> on 4/20/2026, 1:18:22 PM