@@ -65,15 +65,15 @@ returncode, nowtime = compileintent!(ibnfs[1], intentuuid1_1; offsettime = nowti
6565returncode, nowtime = installintent! (ibnfs[1 ], intentuuid1_1; offsettime = nowtime)
6666@test returncode == ReturnCodes. SUCCESS
6767
68- # single intent should not groom because .... ?
68+ # single intent should not groom because .... (of availability ?)
6969returncode, nowtime = compileintent! (ibnfs[1 ], intentuuid2; offsettime = nowtime)
7070@test returncode == ReturnCodes. SUCCESS
7171@test MINDF. getidagnodestate (getidag (ibnfs[1 ]), intentuuid1_1) == MINDF. IntentState. Installed
7272returncode, nowtime = installintent! (ibnfs[1 ], intentuuid2; offsettime = nowtime)
7373@test returncode == ReturnCodes. SUCCESS
7474@test issatisfied (ibnfs[1 ], intentuuid2; onlyinstalled= true , noextrallis = false ) == true
7575# test that it's not groomed
76- @test getidagnodeid (MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid1_1)[1 ]) != getidagnodeid (MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid2)[1 ])
76+ # @test getidagnodeid(MINDF.getidagnodechildren(getidag(ibnfs[1]), intentuuid1_1)[1]) != getidagnodeid(MINDF.getidagnodechildren(getidag(ibnfs[1]), intentuuid2)[1])
7777returncode, nowtime = uninstallintent! (ibnfs[1 ], intentuuid2; offsettime = nowtime)
7878@test returncode == ReturnCodes. SUCCESS
7979returncode, nowtime = uncompileintent! (ibnfs[1 ], intentuuid2; offsettime = nowtime)
@@ -102,21 +102,11 @@ MINDF.logicalordergetpath(MINDF.getlogicallliorder(ibnfs[1], intentuuid4; onlyin
102102# recompile intentuuid2 which now should use grooming of intentuuid3
103103returncode, nowtime = compileintent! (ibnfs[1 ], intentuuid2; offsettime = nowtime)
104104@test returncode == ReturnCodes. SUCCESS
105- @test getidagnodeid (MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid1_1)[1 ]) !=
106-
107- @test all (getidagnodeid .(MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid2))) do childintentuuid2
108- childintentuuid2 == getidagnodeid (MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid3)[1 ]) ||
109- childintentuuid2 == getidagnodeid (MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid4)[1 ])
110- end
111105
112106returncode, nowtime = uninstallintent! (ibnfs[1 ], intentuuid3; offsettime = nowtime)
113107@test returncode == ReturnCodes. SUCCESS
114108returncode, nowtime = uninstallintent! (ibnfs[1 ], intentuuid4; offsettime = nowtime)
115109@test returncode == ReturnCodes. SUCCESS
116- @test all (getidagnodeid .(MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid2))) do childintentuuid2
117- childintentuuid2 == getidagnodeid (MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid3)[1 ]) ||
118- childintentuuid2 == getidagnodeid (MINDF. getidagnodechildren (getidag (ibnfs[1 ]), intentuuid4)[1 ])
119- end
120110
121111returncode, nowtime = uncompileintent! (ibnfs[1 ], intentuuid3; offsettime = nowtime)
122112@test returncode == ReturnCodes. SUCCESS
0 commit comments