Skip to content

Commit

Permalink
fixed #1482, unchecked timeout with no error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Feb 12, 2022
1 parent 9ac43d0 commit c22d05a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
17 changes: 9 additions & 8 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
using Test

# temporarily moved to start (for debugging)
include("testDefaultDeconv.jl") # see #1482, sequence might influence/hide a test error.
include("testSpecialEuclidean2Mani.jl")

include("testFactorGradients.jl")
include("testpartialconstraint.jl")
include("testPartialNH.jl")
#...

include("testSphereMani.jl")
include("testSpecialOrthogonalMani.jl")
include("testSpecialEuclidean2Mani.jl")

include("testDistributionsGeneric.jl")
include("testHeatmapGridDensity.jl")
include("testCliqSolveDbgUtils.jl")
include("TestModuleFunctions.jl")
include("testApproxConv.jl")
include("testCompareVariablesFactors.jl")
include("typeReturnMemRef.jl")
include("testApproxConv.jl")
include("basicGraphsOperations.jl")
include("testMixturePrior.jl")
include("testGradientUtils.jl")
Expand All @@ -31,12 +27,17 @@ include("testTreeFunctions.jl")
#FIXME fails on MetaBayesTree
include("testTreeSaveLoad.jl")

include("testSpecialSampler.jl")
include("testFactorGradients.jl")
include("testpartialconstraint.jl")
include("testPartialNH.jl")

include("testSpecialSampler.jl") # TODO, rename, refine
include("saveconvertertypes.jl")
include("testgraphpackingconverters.jl")
include("testNLsolve.jl")
include("testCommonConvWrapper.jl")
include("testBasicForwardConvolve.jl")
include("testDefaultDeconv.jl")
include("testFactorMetadata.jl")
include("testStateMachine.jl")
include("testBasicCSM.jl")
Expand Down
7 changes: 2 additions & 5 deletions test/testDefaultDeconv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,11 @@ end
fg = generateGraph_CaesarRing1D()
getSolverParams(fg).useMsgLikelihoods = true

# # TEMPORARY MUST COMMENT ON TRAVIS
# getSolverParams(fg).drawtree = true

vo = [:x3,:x5,:x1,:l1,:x4,:x2,:x6,:x0]

mkpath(getLogPath(fg))
tree = solveTree!(fg, eliminationOrder=vo, timeout=40, verbose=true)
tree = solveTree!(fg, eliminationOrder=vo, verbose=true) #, timeout=5) # timeout creates interrupt exception

# msg = getMsgUpThis(tree.cliques[2])
msg = IIF.getMessageBuffer(tree.cliques[2]).upRx

tfg = buildCliqSubgraph(fg, tree.cliques[2])
Expand Down Expand Up @@ -176,4 +172,5 @@ pred, meas = approxDeconv(fg, :x0x1f1)
end



#

0 comments on commit c22d05a

Please sign in to comment.