diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index b64e176fb878688b343d5453874e49ce3b541b0c..cfd56e3ca66e8a4b3e09c59de6b0536754c476c7 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -574,7 +574,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
     add_test(ydb/keyrange-random-get1.tdb keyrange.tdb --get 1 --random_keys 1 --envdir dir.keyrange-random-get1.tdb)
   else ()
     message(WARNING "TODO(leif): re-enable keyrange tests, see #5666")
-    declare_custom_tests(keyrange-merge.tdb)
+    declare_custom_tests(filesize.tdb keyrange-merge.tdb)
     list(REMOVE_ITEM abortrecover_tests recover-flt1.abortrecover)
   endif ()
   add_test(ydb/keyrange-loader-get0.tdb keyrange.tdb --get 0 --loader 1 --envdir dir.keyrange-loader-get0.tdb)