Zakelly commented on code in PR #25884:
URL: https://github.com/apache/flink/pull/25884#discussion_r1905093224
##########
flink-state-backends/flink-statebackend-forst/src/test/java/org/apache/flink/state/forst/fs/ForStFlinkFileSystemTest.java:
##########
@@ -247,6 +273,9 @@ void testSstFileInCache() throws IOException {
.isTrue();
assertThat(fileSystem.exists(new
org.apache.flink.core.fs.Path(cachePath, "1.sst")))
.isTrue();
+
assertThat(registeredGauges.get("forst-cache.cachedBytes").getValue()).isEqualTo(234L);
+
assertThat(registeredCounters.get("forst-cache.hit").getCount()).isEqualTo(0L);
+
assertThat(registeredCounters.get("forst-cache.miss").getCount()).isEqualTo(0L);
FileCacheEntry cacheEntry = cache.get(cachePath.getPath() + "/1.sst");
Review Comment:
also rename those to `forst.fileCache` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]