Uploaded image for project: 'ngrinder'
  1. ngrinder
  2. NGRINDER-572

Fix inconsistency b/w total and per test statistics by timing difference

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3
    • Component/s: controller
    • Labels:
      None

      Description

      The statistic per each test comes from model index, and total statistics come from update listener. when total statistics arrives, it has the snapshot of certain time, but when we fetch the statistic per test we have fetched the just arrived test. Therefore, the sum of each test's statistics does not equals the total statistics.

      It was not serious before. Because we didn't show tps chart per test. Howver 3.1.3 it's very significant, and user may easily misunderstand.

      The both statistics should come at the same sampling point.

      Fix is necessary.

        Activity

        Hide
        junoyoon JunHo Yoon added a comment -

        Fixed

        Show
        junoyoon JunHo Yoon added a comment - Fixed
        Hide
        junoyoon JunHo Yoon added a comment -

        By providing synchonized block in SampleModelImplementationEx, Now total and per test statistics are synced.

        Show
        junoyoon JunHo Yoon added a comment - By providing synchonized block in SampleModelImplementationEx, Now total and per test statistics are synced.
        Hide
        junoyoon JunHo Yoon added a comment -

        Close All

        Show
        junoyoon JunHo Yoon added a comment - Close All

          People

          • Assignee:
            junoyoon JunHo Yoon
            Reporter:
            junoyoon JunHo Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: