Skip to content

Commit

Permalink
Fix for testing on our minimal machine
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth-T-Moore committed Jan 15, 2025
1 parent 8238f82 commit 39a1c46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
# Link phases and variables
prob.link_phases()

prob.add_driver("IPOPT")
# Note, SLSQP might have troubles here.
prob.add_driver("SLSQP")

prob.add_design_variables()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import unittest

from openmdao.utils.assert_utils import assert_near_equal
from openmdao.utils.testing_utils import require_pyoptsparse

import aviary.api as av
from aviary.examples.external_subsystems.custom_aero.custom_aero_builder import CustomAeroBuilder
Expand All @@ -17,6 +18,7 @@ class TestBattery(av.TestSubsystemBuilderBase):
subsystems in mission are correctly promoting inputs/outputs.
"""

@require_pyoptsparse(optimizer="SNOPT")
def test_external_drag(self):

# Just do cruise in this example.
Expand Down

0 comments on commit 39a1c46

Please sign in to comment.