Skip to content

[Impacted Area Based PR testing] Fix actually count calculation for test scripts.#16487

Merged
wangxin merged 1 commit intosonic-net:masterfrom
yutongzhang-microsoft:yutongzhang/modify_query
Jan 14, 2025
Merged

[Impacted Area Based PR testing] Fix actually count calculation for test scripts.#16487
wangxin merged 1 commit intosonic-net:masterfrom
yutongzhang-microsoft:yutongzhang/modify_query

Conversation

@yutongzhang-microsoft
Copy link
Copy Markdown
Contributor

Description of PR

In PR #16437, we addressed the script timing issue by selecting the five most recent test plans. However, this caused an incorrect ActualCount, as it was summarizing the number of test cases instead of the test scripts. Since the number of test scripts matches the number of test plans, this PR updates the query to correctly count the test plans.

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
    • Add ownership here(Microsft required only)
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

In PR #16437, we addressed the script timing issue by selecting the five most recent test plans. However, this caused an incorrect ActualCount, as it was summarizing the number of test cases instead of the test scripts. Since the number of test scripts matches the number of test plans, this PR updates the query to correctly count the test plans.

How did you do it?

Since the number of test scripts matches the number of test plans, this PR updates the query to correctly count the test plans.

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@yutongzhang-microsoft yutongzhang-microsoft changed the title [Impacted Area Based PR testing] Fix script timing with [Impacted Area Based PR testing] Fix actually count calculation for test scripts. Jan 13, 2025
@wangxin wangxin merged commit 6e8cebe into sonic-net:master Jan 14, 2025
@yutongzhang-microsoft yutongzhang-microsoft deleted the yutongzhang/modify_query branch January 14, 2025 08:50
nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Mar 15, 2025
…est scripts. (sonic-net#16487)

What is the motivation for this PR?
In PR sonic-net#16437, we addressed the script timing issue by selecting the five most recent test plans. However, this caused an incorrect ActualCount, as it was summarizing the number of test cases instead of the test scripts. Since the number of test scripts matches the number of test plans, this PR updates the query to correctly count the test plans.

How did you do it?
Since the number of test scripts matches the number of test plans, this PR updates the query to correctly count the test plans.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants