Skip to content

Commit 823dfbc

Browse files
committed
mark selected optimal, rlocus tests as slow
1 parent b0b6121 commit 823dfbc

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

control/tests/optimal_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def test_discrete_lqr():
160160
assert np.any(np.abs(res1.inputs - res2.inputs) > 0.1)
161161

162162

163+
@pytest.mark.slow
163164
def test_mpc_iosystem_aircraft():
164165
# model of an aircraft discretized with 0.2s sampling time
165166
# Source: https://www.mpt3.org/UI/RegulationProblem
@@ -652,6 +653,7 @@ def final_point_eval(x, u):
652653
res = optctrl.compute_trajectory(x0, squeeze=True, return_x=True)
653654

654655

656+
@pytest.mark.slow
655657
@pytest.mark.parametrize(
656658
"method, npts, initial_guess, fail", [
657659
('shooting', 3, None, 'xfail'), # doesn't converge

control/tests/rlocus_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def test_without_gains(self, sys):
6464
roots, kvect = root_locus(sys, plot=False)
6565
self.check_cl_poles(sys, roots, kvect)
6666

67+
@pytest.mark.slow
6768
@pytest.mark.parametrize('grid', [None, True, False])
6869
def test_root_locus_plot_grid(self, sys, grid):
6970
rlist, klist = root_locus(sys, grid=grid)

0 commit comments

Comments
 (0)