From 70fb2052907784948e8bbbc2e3a37e2d63866588 Mon Sep 17 00:00:00 2001 From: Branden Clark Date: Fri, 26 Jul 2024 15:05:14 -0400 Subject: [PATCH 1/2] ignore microsoft.net in system path tester --- test/new-e2e/tests/windows/install-test/system_file_tester.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/new-e2e/tests/windows/install-test/system_file_tester.go b/test/new-e2e/tests/windows/install-test/system_file_tester.go index 7ea943aa1f580..2b973637eacde 100644 --- a/test/new-e2e/tests/windows/install-test/system_file_tester.go +++ b/test/new-e2e/tests/windows/install-test/system_file_tester.go @@ -18,7 +18,6 @@ func SystemPaths() []string { // Ignoring paths while creating the snapshot reduces the snapshot size by >90% return []string{ `C:\Windows\assembly\`, - `C:\Windows\Microsoft.NET\assembly\`, `C:\windows\AppReadiness\`, `C:\Windows\Temp\`, `C:\Windows\Prefetch\`, @@ -39,6 +38,7 @@ func SystemPaths() []string { `C:\Windows\System32\Tasks\`, `C:\Windows\System32\spp\`, `C:\Windows\SystemTemp\`, + `C:\Windows\Microsoft.NET`, } } From 68b3da856587577fea020e7665d3352f08dfb754 Mon Sep 17 00:00:00 2001 From: Branden Clark Date: Fri, 26 Jul 2024 15:11:32 -0400 Subject: [PATCH 2/2] append slash --- test/new-e2e/tests/windows/install-test/system_file_tester.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/new-e2e/tests/windows/install-test/system_file_tester.go b/test/new-e2e/tests/windows/install-test/system_file_tester.go index 2b973637eacde..4c70d12a993f5 100644 --- a/test/new-e2e/tests/windows/install-test/system_file_tester.go +++ b/test/new-e2e/tests/windows/install-test/system_file_tester.go @@ -38,7 +38,7 @@ func SystemPaths() []string { `C:\Windows\System32\Tasks\`, `C:\Windows\System32\spp\`, `C:\Windows\SystemTemp\`, - `C:\Windows\Microsoft.NET`, + `C:\Windows\Microsoft.NET\`, } }