Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyf committed Nov 28, 2024
1 parent 9ea0384 commit 395b806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller/tests/server/update/outcome.ml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ let state_matches_expected_outcome state outcome =
| (DoNothingOrProduceWarning, UpToDate, Sleeping _) -> true
| (DoNothingOrProduceWarning, OutOfDateVersionSelected, Sleeping _) -> true
| (DoNothingOrProduceWarning, RebootRequired, Sleeping _) -> true
| (DoNothingOrProduceWarning, ReinstallRequired, Sleeping _) ->true
| (DoNothingOrProduceWarning, ReinstallRequired, Sleeping _) -> true
(* should not _directly_ return to GettingVersionInfo state *) (*TODO: redundant now *)
| (DoNothingOrProduceWarning, _, Update.GettingVersionInfo) -> false
(* all the other state combos are treated as errors *)
| (DoNothingOrProduceWarning, _, _) ->false
| (DoNothingOrProduceWarning, _, _) -> false

(** Tests if the input UpdateService run with the given [Helpers.system_slot_spec]
[case] scenario produces the expected outcome state (defined by
Expand Down

0 comments on commit 395b806

Please sign in to comment.