Anton Kaliaev
b1cff0f9bf
[libs/autofile] create a Group ticker on Start
1) no need to stop the ticker in createTestGroup() method
2) now there is a symmetry - we start the ticker in OnStart(), we stop it
in OnStop()
Refs #2072
6 years ago
Anton Kaliaev
b33f73eaf1
stop autofile and autogroup properly
NOTE: from the ticker#Stop documentation:
```
Stop does not close the channel, to prevent a read from the channel
succeeding incorrectly.
https://golang.org/src/time/tick.go?s=1318:1341#L35
```
Refs #2072
6 years ago
Dev Ojha
f00b52b710
libs/autofile/group_test: Remove unnecessary logging ( #2100 )
Previously we logged `Testing for i <i>` for all i in [0,100).
This was unnecessary. This changes it to just log the value for i on
error messages, to reduce the unnecessary verbosity in log files.
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
6 years ago
Anton Kaliaev
f0c44d1bd0
[autofile] include call to group#Close in tests
7 years ago
Thomas Corbière
ee67e34519
Fix lint errors ( #190 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix receiver names.
* remove omittable code.
* fix dot imports.
7 years ago
Anton Kaliaev
d8dd497069
fix metalinter errors
7 years ago
Anton Kaliaev
668698584d
[autofile] test GroupReader more extensively (Refs #69 )
7 years ago
Anton Kaliaev
103fee6192
add tests for autofile group Write, reader#Read
7 years ago
Zach Ramsay
3c57c24921
linting: next round of fixes
7 years ago
Zach Ramsay
d6e03d2368
linting: add to Makefile & do some fixes
7 years ago
Ethan Buchman
2f8551d3b6
go-common -> tmlibs
8 years ago
Ethan Buchman
900be74e8f
update import paths
8 years ago
Ethan Buchman
a893bb119b
merge go-autofile
8 years ago
Jae Kwon
a528af55d3
Group is a BaseService; TotalSizeLimit enforced; tests fixed
8 years ago
Jae Kwon
1261fca160
FindLast
8 years ago
Jae Kwon
d741b81ab5
Add better docs for Group
8 years ago
Jae Kwon
c26b857900
Fix Search and add test
8 years ago
Jae Kwon
1859c4d5fe
First commit
8 years ago