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: Improved error message and for properties file missing #10591

Merged

Conversation

thomas-swirlds-labs
Copy link
Contributor

@thomas-swirlds-labs thomas-swirlds-labs commented Dec 20, 2023

Description:
This PR modifies PropertyConfigSource in order to handle the case when the resource file does not exist
Includes a new Unit Test class for supporting the change.

Related issue(s):

Fixes #9689

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Thomas Moran <152873392+thomas-swirlds-labs@users.noreply.github.com>
@thomas-swirlds-labs thomas-swirlds-labs changed the title Improved error message and for properties file missing fix: Improved error message and for properties file missing Dec 20, 2023
Copy link

github-actions bot commented Dec 20, 2023

Node: Unit Test Results

    2 290 files  +1      2 290 suites  +1   50m 19s ⏱️ -1s
118 604 tests +3  118 570 ✔️ +3  34 💤 ±0  0 ±0 
127 021 runs  +3  126 987 ✔️ +3  34 💤 ±0  0 ±0 

Results for commit 353a39e. ± Comparison against base commit 1061cc9.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (develop@1061cc9). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #10591   +/-   ##
==========================================
  Coverage           ?   63.03%           
  Complexity         ?    30859           
==========================================
  Files              ?     3363           
  Lines              ?   135631           
  Branches           ?    14127           
==========================================
  Hits               ?    85496           
  Misses             ?    46747           
  Partials           ?     3388           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Dec 20, 2023

Node: HAPI Test (Crypto) Results

211 tests   205 ✔️  18m 34s ⏱️
  22 suites      6 💤
  22 files        0

Results for commit 353a39e.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 20, 2023

Node: HAPI Test (Token) Results

189 tests   189 ✔️  17m 10s ⏱️
  13 suites      0 💤
  13 files        0

Results for commit 353a39e.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 20, 2023

Node: HAPI Test (Time Consuming) Results

21 tests     9 ✔️  24m 58s ⏱️
  2 suites  12 💤
  2 files      0

Results for commit 353a39e.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 20, 2023

Node: E2E Test Results

    1 files      1 suites   23m 13s ⏱️
311 tests 311 ✔️ 0 💤 0
333 runs  333 ✔️ 0 💤 0

Results for commit 353a39e.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 20, 2023

Node: Integration Test Results

280 tests  ±0   280 ✔️ +1   28m 35s ⏱️ -1s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0  - 1 

Results for commit 353a39e. ± Comparison against base commit 1061cc9.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 20, 2023

Node: HAPI Test (Smart Contract) Results

412 tests   396 ✔️  48m 10s ⏱️
  55 suites    16 💤
  55 files        0

Results for commit 353a39e.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

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

LGTM, tyvm @thomas-swirlds-labs 🎉

Copy link
Member

@Neeharika-Sompalli Neeharika-Sompalli left a comment

Choose a reason for hiding this comment

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

Looks great 🎉 .. Thanks @thomas-swirlds-labs

@thomas-swirlds-labs thomas-swirlds-labs merged commit 65116fe into develop Dec 21, 2023
37 of 38 checks passed
@thomas-swirlds-labs thomas-swirlds-labs deleted the 09689-improve-error-message-file-not-found branch December 21, 2023 09:20
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.

Improve error message for properties file not found
3 participants