= core: ensure that no automatic metric flushes occur during certain tests