From 90d34dbd63ec5a088864db05599a2190a5af8ac1 Mon Sep 17 00:00:00 2001 From: Pravin Barton <9560941+isc-pbarton@users.noreply.github.com> Date: Wed, 4 Mar 2026 09:56:04 -0500 Subject: [PATCH] this unit test used to take forever in a container because it was doing an unnecessary copy of node_modules from the mount. now it does not. --- test/UnitTest/SourceControl/Git/NameToInternalNameTest.cls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/UnitTest/SourceControl/Git/NameToInternalNameTest.cls b/test/UnitTest/SourceControl/Git/NameToInternalNameTest.cls index 9a7fddd6..e77d00bd 100644 --- a/test/UnitTest/SourceControl/Git/NameToInternalNameTest.cls +++ b/test/UnitTest/SourceControl/Git/NameToInternalNameTest.cls @@ -120,7 +120,9 @@ Method OnBeforeAllTests() As %Status set settings.namespaceTemp = folder set settings.percentClassReplace = "_" $$$ThrowOnError(settings.%Save()) - do ##class(%Library.File).CopyDir($Piece(..Manager.CurrentDir,"test"),folder,1) + // copy just the test directory in this repo into the temp repo directory + set srcDir = ##class(%File).NormalizeDirectory("test", $Piece(..Manager.CurrentDir,"test")) + do ##class(%Library.File).CopyDir(srcDir, ##class(%File).NormalizeDirectory("test", folder), 1) kill @##class(SourceControl.Git.Utils).MappingsNode() Set app = $System.CSP.GetDefaultApp($Namespace) If (app '= "") {