Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1888

Fix throughput class creation bug

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Complete
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.80
    • Component/s: None
    • Labels:
      None

      Description

      Parameter start_ts in function create_throughput_measurement is defined by default as start_ts=time.perf_counter(). In python this definition will lead to the start initialization of the parameter. If we wil call this method in further without the parameter, start_ts will be equal to the first value.

      Acceptance Criteria

      • Move the definition of the parameter start_ts to the function body.
      • Add test

        Attachments

          Activity

            People

            Assignee:
            zhigunenko.dsr NIkita Zhigunenko
            Reporter:
            Toktar Renata Toktar
            Watchers:
            NIkita Zhigunenko, Renata Toktar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                toggl2jira-issue-panel

                Error rendering 'cz.morosystems.atlassian.plugin.togglsync:toggl2jira-issue-panel'. Please contact your Jira administrators.