Skip to content

[refactor] Unify all unit tests into one binary file#8958

Merged
yiguolei merged 1 commit into
apache:masterfrom
yangzhg:speedup_test
Apr 12, 2022
Merged

[refactor] Unify all unit tests into one binary file#8958
yiguolei merged 1 commit into
apache:masterfrom
yangzhg:speedup_test

Conversation

@yangzhg
Copy link
Copy Markdown
Member

@yangzhg yangzhg commented Apr 11, 2022

Proposed changes

  1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
  2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
  3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests

Checklist(Required)

  1. Does it affect the original behavior: (No)
  2. Has unit tests been added: (No Need)
  3. Has document been added or modified: No Need)
  4. Does it need to update dependencies: (No)
  5. Are there any changes that cannot be rolled back: (No)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@github-actions github-actions Bot added area/sql/function Issues or PRs related to the SQL functions area/vectorization labels Apr 11, 2022
Comment thread run-be-ut.sh
} else {
contains_ctx->shapes[i] = GeoShape::from_encoded(str->ptr, str->len);
contains_ctx->shapes[i] =
std::shared_ptr<GeoShape>(GeoShape::from_encoded(str->ptr, str->len));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why using shared_ptr instead of unique_ptr?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

shapes may share at line 275

Comment thread be/test/CMakeLists.txt
@morningman morningman added the dev/backlog waiting to be merged in future dev branch label Apr 11, 2022
@zbtzbtzbt
Copy link
Copy Markdown
Contributor

cool!

Comment thread be/src/geo/geo_functions.cpp
@yangzhg yangzhg force-pushed the speedup_test branch 3 times, most recently from 6665d8e to 8496f4c Compare April 12, 2022 06:32
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests
Copy link
Copy Markdown
Contributor

@yiguolei yiguolei left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Apr 12, 2022
@github-actions
Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@yiguolei yiguolei merged commit 5a44eea into apache:master Apr 12, 2022
weizhengte pushed a commit to weizhengte/incubator-doris that referenced this pull request Apr 22, 2022
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests
zhengshiJ pushed a commit to zhengshiJ/incubator-doris that referenced this pull request Apr 27, 2022
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests
starocean999 pushed a commit to starocean999/incubator-doris that referenced this pull request May 19, 2022
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests
yangzhg added a commit to yangzhg/doris that referenced this pull request Oct 12, 2022
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests

(cherry picked from commit 5a44eea)
yangzhg added a commit to yangzhg/doris that referenced this pull request Oct 12, 2022
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests

(cherry picked from commit 5a44eea)

Change-Id: I67a162912a35273804bc6d026acc9bd9ccc3ca3d
yangzhg added a commit to yangzhg/doris that referenced this pull request Oct 12, 2022
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests

(cherry picked from commit 5a44eea)

Change-Id: I67a162912a35273804bc6d026acc9bd9ccc3ca3d
yangzhg added a commit to yangzhg/doris that referenced this pull request Oct 12, 2022
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests

(cherry picked from commit 5a44eea)

Change-Id: I67a162912a35273804bc6d026acc9bd9ccc3ca3d
yangzhg added a commit to yangzhg/doris that referenced this pull request Oct 13, 2022
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests

(cherry picked from commit 5a44eea)

Change-Id: I67a162912a35273804bc6d026acc9bd9ccc3ca3d
yiguolei pushed a commit that referenced this pull request Oct 13, 2022
…13329)

1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems
2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins
3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests

(cherry picked from commit 5a44eea)

Change-Id: I67a162912a35273804bc6d026acc9bd9ccc3ca3d
wyxxxcat pushed a commit to wyxxxcat/doris that referenced this pull request May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/sql/function Issues or PRs related to the SQL functions area/vectorization dev/backlog waiting to be merged in future dev branch reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants