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

Fix throughput class creation bug

    XMLWordPrintable

Details

    • Task
    • Status: Complete
    • Medium
    • Resolution: Done
    • None
    • 1.6.80
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: