Skip to content

Conversation

@MrCroxx
Copy link
Contributor

@MrCroxx MrCroxx commented Feb 17, 2022

What's changed and what's your intention?

Replace 1-node streaming e2e with 3-node in CI.

This PR reply on sqllogictest-rs#25.

Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)

#352
sqllogictest-rs#25

@github-actions github-actions bot added the type/feature Type: New feature. label Feb 17, 2022
@codecov
Copy link

codecov bot commented Feb 17, 2022

Codecov Report

Merging #405 (c24d6dd) into main (73765f7) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #405      +/-   ##
============================================
- Coverage     72.91%   72.91%   -0.01%     
  Complexity     2686     2686              
============================================
  Files           867      867              
  Lines         48898    48898              
  Branches       1579     1579              
============================================
- Hits          35655    35654       -1     
- Misses        12430    12431       +1     
  Partials        813      813              
Flag Coverage Δ
java 62.34% <ø> (ø)
rust 77.43% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
rust/common/src/types/ordered_float.rs 25.49% <0.00%> (-0.34%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73765f7...c24d6dd. Read the comment docs.

@MrCroxx MrCroxx marked this pull request as ready for review February 18, 2022 04:32
@MrCroxx MrCroxx self-assigned this Feb 18, 2022
@wyhyhyhyh
Copy link
Contributor

LSTM

Copy link
Member

@BugenZhao BugenZhao left a comment

Choose a reason for hiding this comment

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

Rest LGTM

curl -fL -o ~/.cargo/bin/sqllogictest https://github.com/singularity-data/sqllogictest-rs/releases/download/v0.2.0/sqllogictest-linux-amd64
# reply on #25, download release archive after new version release
# curl -fL -o ~/.cargo/bin/sqllogictest https://github.com/singularity-data/sqllogictest-rs/releases/download/v0.2.0/sqllogictest-linux-amd64
cargo install sqllogictest --features bin --git https://github.com/singularity-data/sqllogictest-rs --rev 21357d4
Copy link
Member

@BugenZhao BugenZhao Feb 18, 2022

Choose a reason for hiding this comment

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

Consider to release this version ASAP, or it will make our e2e tests much slower.

Alternatively, cache the cargo assets for e2e as well. cc @skyzh

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree.

~/cargo-make/makers ci-1node
timeout 3m sqllogictest -p 4567 -d dev './e2e_test/streaming/**/*.slt'
~/cargo-make/makers ci-3node
timeout 6m sqllogictest -p 4567 -d dev './e2e_test/streaming/**/*.slt'
Copy link
Member

Choose a reason for hiding this comment

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

How can this tests run slower on 3 nodes? 😢 Can we make the timeout stricter than 6m ?

Suggested change
timeout 6m sqllogictest -p 4567 -d dev './e2e_test/streaming/**/*.slt'
timeout 5m sqllogictest -p 4567 -d dev './e2e_test/streaming/**/*.slt'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

6m is a try to make CI pass for the first time. Based on the recent 2 times runs 4m is enough.

@BugenZhao BugenZhao merged commit 90f7982 into main Feb 18, 2022
@BugenZhao BugenZhao deleted the xx/enable-3node-streaming-e2e branch February 18, 2022 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/feature Type: New feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants