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

test: Convert explain order tests to new explain setup #1478

Conversation

shahzadlone
Copy link
Member

Relevant issue(s)

Description

Continue converting explain tests to the new explain setup before we can integrate the entire setup to the new action based setup. #953 Has a lot more detail on the entire plan.

  • This PR converts all the default order explain tests to the new explain setup.
  • Splits the order join tests into a separate file.

Remove the order join tests from this file, will add them in a seperate
file.
Partially converted because switched them to `ExpectedFullGraph` for now
which keeps the original full graph, so when I change it in next commit
the diff can be tracable.
@shahzadlone shahzadlone added area/testing Related to any test or testing suite code quality Related to improving code quality labels May 10, 2023
@shahzadlone shahzadlone added this to the DefraDB v0.5.1 milestone May 10, 2023
@shahzadlone shahzadlone requested a review from a team May 10, 2023 12:01
@shahzadlone shahzadlone self-assigned this May 10, 2023
@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Merging #1478 (b3382e1) into develop (b830de0) will increase coverage by 0.04%.
The diff coverage is n/a.

❗ Current head b3382e1 differs from pull request most recent head c5161e8. Consider uploading reports for the commit c5161e8 to get more accurate results

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1478      +/-   ##
===========================================
+ Coverage    72.18%   72.23%   +0.04%     
===========================================
  Files          185      185              
  Lines        18226    18226              
===========================================
+ Hits         13157    13166       +9     
+ Misses        4029     4023       -6     
+ Partials      1040     1037       -3     

see 4 files with indirect coverage changes

Copy link
Contributor

@AndrewSisley AndrewSisley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shahzadlone shahzadlone force-pushed the test/refactor-order-explain-tests branch from b3382e1 to c5161e8 Compare May 10, 2023 17:32
@shahzadlone shahzadlone merged commit 7463448 into sourcenetwork:develop May 10, 2023
@shahzadlone shahzadlone deleted the test/refactor-order-explain-tests branch May 10, 2023 17:55
shahzadlone added a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
…#1478)

## Relevant issue(s)
- Part of sourcenetwork#953
- Resolves sourcenetwork#1477

## Description
Continue converting explain tests to the new explain setup before we can
integrate the entire setup to the new action based setup. sourcenetwork#953 Has a lot
more detail on the entire plan.

- This PR converts all the default order explain tests to the new
explain setup.
- Splits the order join tests into a separate file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Related to any test or testing suite code quality Related to improving code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert default order explain tests to new explain setup.
2 participants