소스 검색

add comments to test_unknown_feature_on_cache_sync

Thomas Waldmann 11 달 전
부모
커밋
72be8eff15
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/borg/testsuite/archiver/checks.py

+ 2 - 0
src/borg/testsuite/archiver/checks.py

@@ -205,8 +205,10 @@ def test_unknown_feature_on_create(archivers, request):
 
 
 def test_unknown_feature_on_cache_sync(archivers, request):
+    # LocalCache.sync checks repo compat
     archiver = request.getfixturevalue(archivers)
     cmd(archiver, "rcreate", RK_ENCRYPTION)
+    # delete the cache to trigger a cache sync later in borg create
     cmd(archiver, "rdelete", "--cache-only")
     add_unknown_feature(archiver.repository_path, Manifest.Operation.READ)
     cmd_raises_unknown_feature(archiver, ["create", "test", "input"])