Skip to content

Commit

Permalink
update error test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnezdyur committed Jan 2, 2025
1 parent 904462c commit c019042
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/optimization/test/tests/misc/scaling_test/tests
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@
[]
[]
[optimization_scaling_errors]
requirement = "The system shall throw out an error when "
[scaling_factor_for_adjoint_variables]
type = 'RunException'
input = main.i
max_threads = 1 # Optimize executioner does not support multiple threads
cli_args = "MultiApps/forward/cli_args='Variables/T_real_adj/scaling=5'"
expect_err = 'User supplied scaling factors for adjoint variables. Adjoint system is scaled automatically by the forward system.'
requirement = "The system shall throw out an error when scalings are manually assigned to "
"adjoint variables to remind users that no scaling will be performed for adjoint "
"system."
expect_err = 'User cannot supply scaling factors for adjoint variables. Adjoint system is scaled automatically by the forward system.'
detail = "scalings are manually assigned to adjoint variables to remind users that no scaling will be performed for adjoint system."
[]
[]
[]

0 comments on commit c019042

Please sign in to comment.