restic rewrite integration test

convert exclusive lock on repository to 'no-lock'
This commit is contained in:
Winfried Plappert 2025-12-28 16:53:50 +00:00
parent 5148608c39
commit b6af01bb28

View file

@ -250,7 +250,7 @@ func TestRewriteIncludeFiles(t *testing.T) {
err = withTermStatus(t, env.gopts, func(ctx context.Context, gopts global.Options) error {
printer := ui.NewProgressPrinter(gopts.JSON, gopts.Verbosity, gopts.Term)
_, repo, unlock, err := openWithExclusiveLock(ctx, gopts, false, printer)
_, repo, unlock, err := openWithReadLock(ctx, gopts, false, printer)
rtest.OK(t, err)
defer unlock()