ServiceStateMachineTest: simplify function templates into ordinary functions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch 2022-07-11, Service Arch 2022-07-25, Service Arch 2022-08-08, Service Arch 2022-08-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Make all these template functions into regular functions that take enum arguments.
      Example:

      template <IngressState kState, IngressMode kMode>
      void expectNextState() {
      

      Convert this to:

      void expectNextState(IngressState state, IngressMode mode) {
      

      There doesn't appear to be a reason for these to be templates, and the template syntax and dispatching is making the code harder to read and understand.

            Assignee:
            Alex Li
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: