forked from OpenTSDB/opentsdb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit tests for `UniqueId.suggest()'.
Unfortunately these tests wouldn't catch the subtle performance bug fixed by 1882ff04a93ce08fa95c6ae49385cd8b51494ec6, because the bug was that any suggestion that was scanned was simply re-entered in the caches even if it was already there, and there's no easy way to find about this invisible side effect. But at least there are tests for this part of the API now. Change-Id: Ie152d4f54351945bd6b66ba952def41b5199685e
- Loading branch information
Showing
1 changed file
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters