Skip to content

Missing connection.queries #1791

Open
Open
@ulgens

Description

@ulgens

After upgrading our project to django-debug-toolbar==4.1, we started having many test failures. Almost all of self.assertNumQueries(<query_count>) checks started failing saying the query count is different now. The queries we checked were actually the same as before, they were returning the same calls and returning the same data, but when I checked connection.queries, a majority of the queries were seemingly missed.

I did some testing with different commits and this problem starts with e7575e8

Not sure what else to add but if needed, I can try to create a small project reproducing this issue.

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