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

Fix test cases with Eventually semantics #183

Merged
merged 4 commits into from
Oct 7, 2022
Merged

Fix test cases with Eventually semantics #183

merged 4 commits into from
Oct 7, 2022

Conversation

lujiajing1126
Copy link
Contributor

Signed-off-by: Megrez Lu lujiajing1126@gmail.com

This PR tends to fix test cases failures due to async write.

Before this PR, integration tests randomly failed.

Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>
@lujiajing1126 lujiajing1126 added this to the 0.2.0 milestone Oct 6, 2022
@lujiajing1126 lujiajing1126 self-assigned this Oct 6, 2022
@@ -26,16 +26,16 @@ import (
"time"

"github.com/google/go-cmp/cmp"
g "github.com/onsi/ginkgo/v2"
gm "github.com/onsi/gomega"
. "github.com/onsi/ginkgo/v2"
Copy link
Contributor

Choose a reason for hiding this comment

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

ci might fails

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ci might fails

Oh, I see the linter issues... Let me revert back this part

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But It seems we miss format for the test package?

Copy link
Contributor

Choose a reason for hiding this comment

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

No. It doesn't ignore it. But we have to make the order deterministic.

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2022

Codecov Report

Merging #183 (6498e3b) into main (35a8b9b) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main     #183   +/-   ##
=======================================
  Coverage   41.05%   41.05%           
=======================================
  Files          73       73           
  Lines        6835     6835           
=======================================
  Hits         2806     2806           
  Misses       3769     3769           
  Partials      260      260           
Impacted Files Coverage Δ
...ry/logical/measure/measure_plan_indexscan_local.go 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hanahmily hanahmily merged commit 4bfbb84 into main Oct 7, 2022
@hanahmily hanahmily deleted the fix-async-write branch October 7, 2022 05:39
hanahmily pushed a commit that referenced this pull request Oct 7, 2022
* fix test cases with Eventually semantics
hanahmily pushed a commit that referenced this pull request Oct 7, 2022
* fix test cases with Eventually semantics
hanahmily pushed a commit that referenced this pull request Oct 7, 2022
* fix test cases with Eventually semantics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants