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

use parallel for ci_test #94

Merged
merged 1 commit into from
Nov 1, 2024
Merged

use parallel for ci_test #94

merged 1 commit into from
Nov 1, 2024

Conversation

LHT129
Copy link
Collaborator

@LHT129 LHT129 commented Oct 24, 2024

  • introduce Makefile new tag: test_asan_parallel
  • mark [diskann] & [hnsw] tags run parallel

@LHT129 LHT129 added the kind/improvement Code improvements (variable/function renaming, refactoring, etc. ) label Oct 24, 2024
@LHT129 LHT129 self-assigned this Oct 24, 2024
@LHT129 LHT129 force-pushed the shard_test branch 2 times, most recently from 1ce403b to 08696f1 Compare October 25, 2024 08:33
@@ -22,6 +22,10 @@

using namespace roaring;

TEST_CASE("false") {
REQUIRE(1 == 0);
Copy link
Collaborator

Choose a reason for hiding this comment

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

force failure this task ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just for test. remove now

@pull-request-size pull-request-size bot added size/M and removed size/S labels Oct 28, 2024
@LHT129 LHT129 force-pushed the shard_test branch 4 times, most recently from 0160a2e to 51172e9 Compare October 28, 2024 11:56
test_asan_bg.sh Outdated
exit_codes+=($?)
done

all_successful=true
Copy link
Collaborator

Choose a reason for hiding this comment

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

here can direct return exit_codes ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

exit codes is an array. we may add some logger to detail which case fail in future

@LHT129 LHT129 marked this pull request as draft October 29, 2024 14:50
@LHT129 LHT129 marked this pull request as ready for review October 31, 2024 05:51
@LHT129 LHT129 changed the title use shard for functests use parallel for ci_test Oct 31, 2024
test_asan_bg.sh Outdated Show resolved Hide resolved
test_asan_bg.sh Outdated Show resolved Hide resolved
- introduce Makefile new tag: test_asan_parallel
- mark [diskann] & [hnsw] tags run parallel

Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
@wxyucs
Copy link
Collaborator

wxyucs commented Nov 1, 2024

lgtm

@LHT129 LHT129 merged commit 830b8f9 into antgroup:main Nov 1, 2024
2 checks passed
@LHT129 LHT129 deleted the shard_test branch January 17, 2025 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Code improvements (variable/function renaming, refactoring, etc. ) size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants