]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: add DecayCounter test
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 26 Oct 2020 22:37:24 +0000 (15:37 -0700)
committerVicente Cheng <freeze.bilsted@gmail.com>
Mon, 7 Dec 2020 05:49:24 +0000 (05:49 +0000)
commit3be8ca7ac13c24fe4d045e7a162ae8e302b63042
treef8736e94e549175e3bd1b8f3f66128cbddf41555
parentd4c5443517bc75f3000b1b6f5717f29d9ed44668
test: add DecayCounter test

In particular, look at the steady state decay. (i.e. a counter that is
continuously "refilled".)

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ce151e3e472da75d707fb12ab8c7c32cb65c9248)
src/test/common/CMakeLists.txt
src/test/common/test_counter.cc [new file with mode: 0644]
src/test/old/testcounter.cc [deleted file]