Skip to content

Failed to close mock DB #344

@pancudaniel7

Description

@pancudaniel7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions