Skip to content

Clean up various TestQuery functions #3588

Description

@angelamayxie

In engintest/evaluation.go, we've got

  • TestQuery
  • testQuery
  • TestQuery2 (-___-)
  • TestQueryWithEngine
  • TestQueryWithContext
  • testQueryWithContext
  • TestQueryWithIndexCheck
  • TestPreparedQuery
  • TestPreparedQueryWithEngine
  • TestPreparedQueryWithContext

These functions seem to do almost all the same things, with a few exceptions. They should really be collapsed into a single function or two and take some sort of flags or settings struct to indicate how they differ.

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