mirror of
https://github.com/restic/restic.git
synced 2026-02-03 04:20:45 -05:00
restore: enable debug logging for flaky windows test
This commit is contained in:
parent
3b854d9c04
commit
98f56d8ada
1 changed files with 6 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ import (
|
|||
"unsafe"
|
||||
|
||||
"github.com/restic/restic/internal/data"
|
||||
"github.com/restic/restic/internal/debug"
|
||||
"github.com/restic/restic/internal/errors"
|
||||
"github.com/restic/restic/internal/repository"
|
||||
"github.com/restic/restic/internal/test"
|
||||
|
|
@ -458,6 +459,11 @@ func TestEmptyFileAttributeCombinationsOverwrite(t *testing.T) {
|
|||
|
||||
func testFileAttributeCombinationsOverwrite(t *testing.T, isEmpty bool) {
|
||||
t.Parallel()
|
||||
debugEnabled := debug.TestLogToStderr(t)
|
||||
if debugEnabled {
|
||||
defer debug.TestDisableLog(t)
|
||||
}
|
||||
|
||||
//Get attribute combinations
|
||||
attributeCombinations := generateCombinations(5, []bool{})
|
||||
//Get overwrite file attribute combinations
|
||||
|
|
|
|||
Loading…
Reference in a new issue