Skip to content

Commit 970db01

Browse files
committed
Fix missing repo in BDG test
1 parent b4a8ba0 commit 970db01

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/integration_tests/Test/PM/Integration/BuildDependencyGraph.cls

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ Class Test.PM.Integration.BuildDependencyGraph Extends Test.PM.Integration.Base
33

44
Method OnBeforeAllTests() As %Status
55
{
6-
set sc = $$$OK
76
kill ^IPMTest
87
set ^IPMTest("BuildDependencyGraphCount") = 0
8+
9+
set sc = ##class(%IPM.Main).Shell("repo -n build-dependency-graph -fs -path /home/irisowner/zpm/tests/integration_tests/Test/PM/Integration/_data/build-dependency-graph-loop/")
10+
do $$$AssertStatusOK(sc, "Created build-dependency-graph repo successfully.")
911
return sc
1012
}
1113

@@ -33,8 +35,10 @@ Method TestBuildDependencyGraphCount()
3335

3436
Method OnAfterAllTests() As %Status
3537
{
36-
set sc = $$$OK
3738
kill ^IPMTest
39+
40+
set sc = ##class(%IPM.Main).Shell("repo -delete -name build-dependency-graph")
41+
do $$$AssertStatusOK(sc, "Deleted build-dependency-graph repo successfully.")
3842
return sc
3943
}
4044

0 commit comments

Comments
 (0)