-
Notifications
You must be signed in to change notification settings - Fork 178
Add tests for tsdb cli tool #673
base: master
Are you sure you want to change the base?
Commits on Aug 9, 2019
-
Primitive printing of block in CLI unit test
- Moving necessary functions into different package (only copy) - Output not checked yet Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd0ee20 - Browse repository at this point
Copy the full SHA dd0ee20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0957af6 - Browse repository at this point
Copy the full SHA 0957af6View commit details -
Let printBlocks() take a writer for better testability, write unit test
Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4cad92c - Browse repository at this point
Copy the full SHA 4cad92cView commit details -
Adjust syntax according to newer commits
Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c18ea5e - Browse repository at this point
Copy the full SHA c18ea5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58712f9 - Browse repository at this point
Copy the full SHA 58712f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for eebcb60 - Browse repository at this point
Copy the full SHA eebcb60View commit details -
Apply suggestions from code review
Co-Authored-By: Krasi Georgiev <[email protected]> Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5c9d53 - Browse repository at this point
Copy the full SHA e5c9d53View commit details -
Remove uncessary db.Open(), add full stops in comments
Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 661fa1c - Browse repository at this point
Copy the full SHA 661fa1cView commit details -
Better testability of analyzeBlock command, start tests
- Factor out `extractBlock()` to retrieve specific block from db.Blocks() - Write tests for said function - Simple, non-output test for `analyzeBlock()` command Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a61b29 - Browse repository at this point
Copy the full SHA 7a61b29View commit details -
Add tests for analyzeBlock CLI command
Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67c92d8 - Browse repository at this point
Copy the full SHA 67c92d8View commit details
Commits on Aug 11, 2019
-
Move testing functions back into tsdb package, remove duplicates from…
… existing test files Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4dd7e7f - Browse repository at this point
Copy the full SHA 4dd7e7fView commit details -
Rename Mock{CreateBlock,GenSeries} to CreateBlock, GenSeries
Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5dad441 - Browse repository at this point
Copy the full SHA 5dad441View commit details -
Fix comments for CreateBlock and GenSeries
Signed-off-by: obitech <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6f75f5 - Browse repository at this point
Copy the full SHA c6f75f5View commit details