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
feat(open-mysql-db): refactor mock code #3831
Conversation
1. remove unnecessary instance var port 2. fix cause null bug 3. remove unnecessary throws 4. fix ctx.close() sequence bug 5. config sessionTimeout and requestTimeout 6. add docs of SqlEngine
SDK Test Report101 files 101 suites 2m 12s ⏱️ Results for commit 17b691f. ♻️ This comment has been updated with latest results. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3831 +/- ##
============================================
- Coverage 40.70% 40.69% -0.02%
Complexity 658 658
============================================
Files 195 195
Lines 11514 11650 +136
Branches 1380 1384 +4
============================================
+ Hits 4687 4741 +54
- Misses 6523 6605 +82
Partials 304 304 ☔ View full report in Codecov by Sentry. |
Linux Test Report 57 files 244 suites 1h 45m 3s ⏱️ Results for commit 17b691f. ♻️ This comment has been updated with latest results. |
@@ -6,4 +6,6 @@ server.port=3307 | |||
zookeeper.cluster=0.0.0.0:2181 | |||
zookeeper.root_path=/openmldb | |||
openmldb.user=root | |||
openmldb.password=root | |||
openmldb.password=4pdadmin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this used with public server ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
refactor mock codes
extracted some mock functions