mirror of
https://github.com/restic/restic.git
synced 2026-02-17 06:23:56 +00:00
restic rewrite integration test
convert exclusive lock on repository to 'no-lock'
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user