Skip to content

UT change: for db_migrator test do not check for RESTAPI cert values#2919

Merged
xumia merged 2 commits intosonic-net:masterfrom
vaibhavhd:update-ut
Jul 20, 2023
Merged

UT change: for db_migrator test do not check for RESTAPI cert values#2919
xumia merged 2 commits intosonic-net:masterfrom
vaibhavhd:update-ut

Conversation

@vaibhavhd
Copy link
Copy Markdown
Contributor

@vaibhavhd vaibhavhd commented Jul 20, 2023

What I did

MSFT ADO: 24598790

Why:
RESTAPI table has certs generated from minigraph parser.
The values in RESTAPI table (cert and key names) are dependent on how they are hardcoded in minigraph parser.
Current solution works on public repo, but breaks the internal build (different naming).

What:
Do not match values for RESTAPI attributes. The test still ensures that missing table and keys are migrated.

How I did it

How to verify it

UT passes now even when cert names are changed in expected JSON.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@vaibhavhd vaibhavhd requested review from xumia and yxieca July 20, 2023 06:22
@xumia xumia merged commit feea95e into sonic-net:master Jul 20, 2023
@vaibhavhd vaibhavhd deleted the update-ut branch July 20, 2023 16:29
StormLiangMS pushed a commit that referenced this pull request Jul 25, 2023
…2919)

What I did
MSFT ADO: 24598790

Why:
RESTAPI table has certs generated from minigraph parser.
The values in RESTAPI table (cert and key names) are dependent on how they are hardcoded in minigraph parser.
Current solution works on public repo, but breaks the internal build (different naming).

What:
Do not match values for RESTAPI attributes. The test still ensures that missing table and keys are migrated.

How I did it
How to verify it
rajkumar38 pushed a commit to rajkumar38/sonic-utilities that referenced this pull request Jul 25, 2023
…onic-net#2919)

What I did
MSFT ADO: 24598790

Why:
RESTAPI table has certs generated from minigraph parser.
The values in RESTAPI table (cert and key names) are dependent on how they are hardcoded in minigraph parser.
Current solution works on public repo, but breaks the internal build (different naming).

What:
Do not match values for RESTAPI attributes. The test still ensures that missing table and keys are migrated.

How I did it
How to verify it
@liuh-80 liuh-80 added the Approved for 202012 Branch Approved for 202012 Branch label Jul 27, 2023
yxieca pushed a commit that referenced this pull request Aug 10, 2023
…2919)

What I did
MSFT ADO: 24598790

Why:
RESTAPI table has certs generated from minigraph parser.
The values in RESTAPI table (cert and key names) are dependent on how they are hardcoded in minigraph parser.
Current solution works on public repo, but breaks the internal build (different naming).

What:
Do not match values for RESTAPI attributes. The test still ensures that missing table and keys are migrated.

How I did it
How to verify it
qiluo-msft pushed a commit that referenced this pull request Aug 17, 2023
…2919)

What I did
MSFT ADO: 24598790

Why:
RESTAPI table has certs generated from minigraph parser.
The values in RESTAPI table (cert and key names) are dependent on how they are hardcoded in minigraph parser.
Current solution works on public repo, but breaks the internal build (different naming).

What:
Do not match values for RESTAPI attributes. The test still ensures that missing table and keys are migrated.

How I did it
How to verify it
pdhruv-marvell pushed a commit to pdhruv-marvell/sonic-utilities that referenced this pull request Aug 23, 2023
…onic-net#2919)

What I did
MSFT ADO: 24598790

Why:
RESTAPI table has certs generated from minigraph parser.
The values in RESTAPI table (cert and key names) are dependent on how they are hardcoded in minigraph parser.
Current solution works on public repo, but breaks the internal build (different naming).

What:
Do not match values for RESTAPI attributes. The test still ensures that missing table and keys are migrated.

How I did it
How to verify it
StormLiangMS pushed a commit that referenced this pull request Sep 5, 2023
…2919)

What I did
MSFT ADO: 24598790

Why:
RESTAPI table has certs generated from minigraph parser.
The values in RESTAPI table (cert and key names) are dependent on how they are hardcoded in minigraph parser.
Current solution works on public repo, but breaks the internal build (different naming).

What:
Do not match values for RESTAPI attributes. The test still ensures that missing table and keys are migrated.

How I did it
How to verify it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants