Failed to close mock DB

Author: pancudaniel7Created Nov 27, 2024Updated Dec 4, 2025

Hi,

I am using the datadog sql mock example suite testing testify example and when the db.close() function is called it returns "Failed to close mock DB"

Operating system and Go Version

Screenshot 2024-11-27 at 12 30 39

Issue

Running db.close() I receive "Failed to close mock DB"

Reproduction steps

Execute the suit test example on github using go 1.23.3 darwin/arm64

Expected Result

To close the mock db without errors

Actual Result

"Failed to close mock DB"

Screenshot 2024-12-02 at 14 31 00