file_expert_source_test: fix the cache-hint test string
This commit is contained in:
1 parent
8c80a3ba12
commit
ed5536ea88
1 file changed
+1
-3
@@ -394,9 +394,7 @@ void test_pin_pacing() {
|
||||
require(page_cache_hint(info).find("drop_caches") != std::string::npos &&
|
||||
page_cache_hint(info).find("STRATA_DROP_CACHE_ON_EXIT") != std::string::npos &&
|
||||
page_cache_hint(info).find("52.0 GiB") != std::string::npos, "the cache hint is incomplete");
|
||||
require(page_cache_hint("MemFree: 100 kB
|
||||
Cached: 1000 kB
|
||||
").empty(), "a small cache was reported");
|
||||
require(page_cache_hint("MemFree: 100 kB\nCached: 1000 kB\n").empty(), "a small cache was reported");
|
||||
}
|
||||
|
||||
void test_resident_memory_budget() {
|
||||
|
||||
Reference in new issue
Block a user