Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EDGEDB_TEST_REPEATS env var for testing function cache #7497

Merged
merged 8 commits into from
Jul 16, 2024

Conversation

msullivan
Copy link
Member

When EDGEDB_TEST_REPEATS is set, the test suite duplicates
transactional query tests, and the re-run version will typically use
the function cache.

There are some actual failures when I ran this that need to be
investigated.

When EDGEDB_TEST_REPEATS is set, the test suite duplicates
transactional query tests, and the re-run version will typically use
the function cache.

There are some actual failures when I ran this that need to be
investigated.
@msullivan msullivan requested a review from fantix June 26, 2024 22:13
@msullivan msullivan mentioned this pull request Jul 3, 2024
6 tasks
fantix added 3 commits July 16, 2024 13:58
* test_proto_parse_cardinality()
* test_proto_state_change_in_tx()
* test_edgeql_insert_default_05()
* test_edgeql_dt_sequence_01()
@fantix fantix force-pushed the func-cache-testing branch from 53fc30c to cd1857f Compare July 16, 2024 17:59
...in a new way to tear down created fixtures
@msullivan
Copy link
Member Author

Changes look good. I can't mark "approved" because github thinks of me as the author, but let's merge

@fantix fantix merged commit e7f76a0 into master Jul 16, 2024
23 checks passed
@fantix fantix deleted the func-cache-testing branch July 16, 2024 20:19
aljazerzen pushed a commit that referenced this pull request Oct 23, 2024
When EDGEDB_TEST_REPEATS is set, the test suite duplicates
transactional query tests, and the re-run version will typically use
the function cache.

There are some actual failures when I ran this that need to be
investigated.

Also resolve the issue returning tuple that only happens with
binary output format, executing query like:

    select ((insert A), true);

The fix is simply applying the returns_record fix to tuples:

070d74c#diff-d2fc37bc724ef58ac44d52da73c773483ba90dd9818f3acede2664abd700e850R1925-R1951

---------

Co-authored-by: Fantix King <[email protected]>
@aljazerzen aljazerzen added the backported-5.x PRs that *have* been backported to 5.x (starting with 5.3) label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported-5.x PRs that *have* been backported to 5.x (starting with 5.3)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants