ICU-11767 Try to fix failing test.

X-SVN-Rev: 37728
This commit is contained in:
Travis Keep 2015-08-06 20:19:23 +00:00
parent 8b18741503
commit abb16f16c5

View file

@ -1495,7 +1495,8 @@ void MultithreadTest::TestUnifiedCache() {
// the cache, and there are UPRV_LENGTHOF(gCacheLocales) pairs of
// objects fetched from the cache
if (gObjectsCreated > 2 * UPRV_LENGTHOF(gCacheLocales)) {
errln("Too many objects created.", __FILE__, __LINE__);
errln("%s:%d Too many objects created, got %d, expected %d", __FILE__, __LINE__, gObjectsCreated, 2 * UPRV_LENGTHOF(gCacheLocales));
}
assertEquals("unused values", 2, cache.unusedCount());