Skip to content

Commit 36e773a

Browse files
committed
Workaround for CI failure due to empty folder
Signed-off-by: Darren Stahl <[email protected]>
1 parent 0089489 commit 36e773a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

snapshots/testsuite/testsuite.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ func checkSnapshotterBasic(ctx context.Context, t *testing.T, snapshotter snapsh
125125
)
126126

127127
diffApplier := fstest.Apply(
128+
// Workaround for a Windows RS1 bug: Create a file inside /a/b/c
129+
// in order to initialize the empty folder in the filesystem filter
130+
fstest.CreateFile("/a/b/c/foo", []byte("bar\n"), 0777),
128131
fstest.CreateFile("/bar", []byte("bar\n"), 0777),
129132
// also, change content of foo to bar
130133
fstest.CreateFile("/foo", []byte("bar\n"), 0777),

0 commit comments

Comments
 (0)