Skip to content

fix: the integration test with latest pinot image for group.id change#146

Merged
aaron-steinfeld merged 4 commits intooptimize-functionsfrom
optimize-functions-int-test-fix
Jun 28, 2022
Merged

fix: the integration test with latest pinot image for group.id change#146
aaron-steinfeld merged 4 commits intooptimize-functionsfrom
optimize-functions-int-test-fix

Conversation

@kotharironak
Copy link
Copy Markdown
Contributor

@kotharironak kotharironak commented Jun 28, 2022


pinotServiceManager =
new GenericContainer<>(DockerImageName.parse("hypertrace/pinot-servicemanager:main"))
new GenericContainer<>(DockerImageName.parse("traceableai-docker.jfrog.io/hypertrace/pinot-servicemanager:test"))
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 28, 2022

Codecov Report

Merging #146 (55856df) into optimize-functions (271fe58) will increase coverage by 2.32%.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##             optimize-functions     #146      +/-   ##
========================================================
+ Coverage                 79.73%   82.05%   +2.32%     
- Complexity                  618      633      +15     
========================================================
  Files                        63       66       +3     
  Lines                      2324     2385      +61     
  Branches                    243      244       +1     
========================================================
+ Hits                       1853     1957     +104     
+ Misses                      372      329      -43     
  Partials                     99       99              
Flag Coverage Δ
integration 82.05% <ø> (?)
unit 79.73% <ø> (ø)

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

Impacted Files Coverage Δ
.../core/query/service/client/QueryServiceClient.java 100.00% <0.00%> (ø)
.../core/query/service/client/QueryServiceConfig.java 100.00% <0.00%> (ø)
...rtrace/core/query/service/QueryServiceStarter.java 58.33% <0.00%> (ø)
...ypertrace/core/query/service/ExecutionContext.java 95.45% <0.00%> (+0.75%) ⬆️
.../query/service/pinot/PinotBasedRequestHandler.java 70.27% <0.00%> (+2.02%) ⬆️
...core/query/service/validation/LimitValidation.java 100.00% <0.00%> (+5.26%) ⬆️
...xpressionSubpathExistsFilteringTransformation.java 96.36% <0.00%> (+5.45%) ⬆️
...ertrace/core/query/service/QueryServiceConfig.java 91.37% <0.00%> (+6.89%) ⬆️
...ttributeExpressionNormalizationTransformation.java 100.00% <0.00%> (+7.69%) ⬆️
...e/core/query/service/pinot/PinotClientFactory.java 65.07% <0.00%> (+20.63%) ⬆️
... and 6 more

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 271fe58...55856df. Read the comment docs.

Thread.sleep(2000);
int retry = 0, maxRetries = 20;
while (!areMessagesConsumed(endOffSetMap) && retry++ < maxRetries) {
Thread.sleep(6000); // max 2 min wait time
Copy link
Copy Markdown
Contributor Author

@kotharironak kotharironak Jun 28, 2022

Choose a reason for hiding this comment

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

Somehow with the latest pinot version of servicemanager, it takes quite a time to get offset metadata for all views. It fetches offset metadata for span-event-view and backend-entity-view much fast. But for rest of the views, it takes quite some time. Had to increase it to 5 mins (first tried with 2 mins, and then 5 mins).

@github-actions
Copy link
Copy Markdown

Unit Test Results

  36 files    36 suites   8s ⏱️
202 tests 202 ✔️ 0 💤 0 ❌

Results for commit 55856df.

@kotharironak kotharironak marked this pull request as ready for review June 28, 2022 12:05
@kotharironak kotharironak requested a review from a team June 28, 2022 12:05
@aaron-steinfeld aaron-steinfeld changed the base branch from optimize-functions to main June 28, 2022 12:06
@aaron-steinfeld aaron-steinfeld dismissed their stale review June 28, 2022 12:06

The base branch was changed.

@aaron-steinfeld aaron-steinfeld changed the base branch from main to optimize-functions June 28, 2022 12:07
@aaron-steinfeld aaron-steinfeld merged commit 9aaa078 into optimize-functions Jun 28, 2022
@aaron-steinfeld aaron-steinfeld deleted the optimize-functions-int-test-fix branch June 28, 2022 12:08
aaron-steinfeld added a commit that referenced this pull request Jun 28, 2022
* feat: support configuring distinct count agg function

* fix: restore missing sum

* fix: the integration test with latest pinot image for group.id change (#146)

* fix: the integration test with latest pinot image for group.id change

* making it 5 mins for worst case

* updated comments

* reverted the test image

* refactor: update a test config, remove unused const

Co-authored-by: kotharironak <53209990+kotharironak@users.noreply.github.com>
Harnoor-se7en pushed a commit to razorpay/hypertrace-query-service that referenced this pull request Jul 14, 2022
* feat: support configuring distinct count agg function

* fix: restore missing sum

* fix: the integration test with latest pinot image for group.id change (hypertrace#146)

* fix: the integration test with latest pinot image for group.id change

* making it 5 mins for worst case

* updated comments

* reverted the test image

* refactor: update a test config, remove unused const

Co-authored-by: kotharironak <53209990+kotharironak@users.noreply.github.com>
Harnoor-se7en added a commit to razorpay/hypertrace-query-service that referenced this pull request Dec 8, 2022
* feat: support configuring distinct count agg function (hypertrace#143)

* feat: support configuring distinct count agg function

* fix: restore missing sum

* fix: the integration test with latest pinot image for group.id change (hypertrace#146)

* fix: the integration test with latest pinot image for group.id change

* making it 5 mins for worst case

* updated comments

* reverted the test image

* refactor: update a test config, remove unused const

Co-authored-by: kotharironak <53209990+kotharironak@users.noreply.github.com>

* adding config from service since kube manifest plans fail

* fix: flip around division (hypertrace#147)

* kube manifests isnt working so adding service config

* removed config changes at app level

* add dependency

* add dependency

* dependency udpate

* dependency update

* build from apm

* maven aurl

* maven test

* dependency update

* file impl

* file impl

* updates workflows

Co-authored-by: Aaron Steinfeld <45047841+aaron-steinfeld@users.noreply.github.com>
Co-authored-by: kotharironak <53209990+kotharironak@users.noreply.github.com>
Co-authored-by: 13shivam <shivam.rai@razorpay.com>
Harnoor-se7en added a commit to razorpay/hypertrace-query-service that referenced this pull request Dec 12, 2022
* feat: support configuring distinct count agg function (hypertrace#143)

* feat: support configuring distinct count agg function

* fix: restore missing sum

* fix: the integration test with latest pinot image for group.id change (hypertrace#146)

* fix: the integration test with latest pinot image for group.id change

* making it 5 mins for worst case

* updated comments

* reverted the test image

* refactor: update a test config, remove unused const

Co-authored-by: kotharironak <53209990+kotharironak@users.noreply.github.com>

* adding config from service since kube manifest plans fail

* fix: flip around division (hypertrace#147)

* kube manifests isnt working so adding service config

* removed config changes at app level

Co-authored-by: Aaron Steinfeld <45047841+aaron-steinfeld@users.noreply.github.com>
Co-authored-by: kotharironak <53209990+kotharironak@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants