BUG-4803: invalidate cache before each test 66/31766/3
authorRobert Varga <rovarga@cisco.com>
Tue, 22 Dec 2015 11:04:10 +0000 (12:04 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 4 Jan 2016 10:39:07 +0000 (10:39 +0000)
commitf1091bd54afc0a9342bd468887efd22b41fffcc5
tree92fa58de9a7219623bc2a881345781026f4d7e11
parentc226b7d37ec0b55ddf13570d40d5c4d826ca34e1
BUG-4803: invalidate cache before each test

Running tests will pollute the cache, so we need to clear it before each
test.

Change-Id: I0cc171c22409d81092d82d5570a3c0068bbfc889
Signed-off-by: Robert Varga <rovarga@cisco.com>
common/util/src/main/java/org/opendaylight/yangtools/util/OffsetMapCache.java
common/util/src/test/java/org/opendaylight/yangtools/util/OffsetMapTest.java