Skip to content

Commit 1c3c9da

Browse files
authored
test: skip failing MiniZinc tests (#305)
1 parent 4789944 commit 1c3c9da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/optimal.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ asymmetric_params = vcat(
1515
algo = GreedyColoringAlgorithm()
1616
optalgo = OptimalColoringAlgorithm(() -> MiniZinc.Optimizer{Float64}("highs"); silent=false)
1717

18+
# TODO: reactivate tests once https://github.com/jump-dev/MiniZinc.jl/issues/103 is fixed
19+
1820
@testset "Column coloring" begin
1921
problem = ColoringProblem(; structure=:nonsymmetric, partition=:column)
2022
for (m, n, p) in asymmetric_params
2123
A = sprand(rng, m, n, p)
2224
result = coloring(A, problem, algo)
23-
optresult = coloring(A, problem, optalgo)
24-
@test ncolors(result) >= ncolors(optresult)
25+
@test_skip ncolors(result) >= ncolors(coloring(A, problem, optalgo))
2526
end
2627
end
2728

@@ -30,8 +31,7 @@ end
3031
for (m, n, p) in asymmetric_params
3132
A = sprand(rng, m, n, p)
3233
result = coloring(A, problem, algo)
33-
optresult = coloring(A, problem, optalgo)
34-
@test ncolors(result) >= ncolors(optresult)
34+
@test_skip ncolors(result) >= ncolors(coloring(A, problem, optalgo))
3535
end
3636
end
3737

0 commit comments

Comments
 (0)