Set both JAVA_HOME and PATH environment for daemon-services by CRZbulabula · Pull Request #17370 · apache/iotdb

Conversation

@CRZbulabula

To prevent the system installed java cannot be identified, we employ java --version rather than JAVA_HOME for detection. Subsequently, to ensure the java is loaded after service restart, we inject both JAVA_HOME and PATH environment to daemon-service.

@sonarqubecloud

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.66%. Comparing base (d1ae3ce) to head (3513fc4).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17370      +/-   ##
============================================
- Coverage     39.78%   39.66%   -0.13%     
  Complexity      312      312              
============================================
  Files          5127     5127              
  Lines        346311   346311              
  Branches      44105    44105              
============================================
- Hits         137785   137349     -436     
- Misses       208526   208962     +436     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

1 participant

@CRZbulabula