-
Notifications
You must be signed in to change notification settings - Fork 4
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
RoutingResources Controller Refactor with Integration Testing for OpenTSDB #316
RoutingResources Controller Refactor with Integration Testing for OpenTSDB #316
Conversation
Requires OpenDCS Toolkit modifications found in this PR: opendcs/opendcs#909 |
…OpenDCS Toolkit methods
513a950
to
88ba624
Compare
Build failure from sonar task |
boolean backLogValid = false; | ||
Long dacqEventId = null; | ||
Long timeInMillis = null; | ||
if (backlog != null && !backlog.trim().isEmpty()) |
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.
extract to its own method
DatabaseIO dbIo = null; | ||
try | ||
{ | ||
dbIo = getLegacyDatabase(); |
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.
move this call out of the try/catch (make sure to update all methods like this)
} | ||
} | ||
|
||
public static void storeDacqEvent(DacqEvent event) throws DatabaseException |
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.
These methods are reused between multiple tests?
Superseded by: #347 |
Problem Description
Fixes #243 .
Solution
Implements integration testing on refactored controller against OpenTSDB.
how you tested the change
Includes integration tests. Some testing still in progress.
Where the following done:
(Formerly called regression tests.)
If you aren't sure leave unchecked and we will help guide you to want needs changing where.