mirror of
https://github.com/restic/restic.git
synced 2026-02-03 04:20:45 -05:00
restic rewrite integration test
convert exclusive lock on repository to 'no-lock'
This commit is contained in:
parent
5148608c39
commit
b6af01bb28
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue