Skip to content

tests/crm: Marvell specific changes#6994

Merged
Blueve merged 1 commit intosonic-net:masterfrom
sureshsekar28:sm_crm_nexthop_test_marvell_changes
Dec 14, 2022
Merged

tests/crm: Marvell specific changes#6994
Blueve merged 1 commit intosonic-net:masterfrom
sureshsekar28:sm_crm_nexthop_test_marvell_changes

Conversation

@sureshsekar28
Copy link
Copy Markdown
Contributor

As per Marvell design nexthop increments only after adding route
Signed-off-by: sureshsekar28 sureshsekar@marvell.com

Description of PR

As per Marvell design nexthop increments only after adding route

Summary:
Fixes # As per Marvell design nexthop increments only after adding route

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • [ x] Test case(new/improvement)

Back port request

  • [x ] 201911
  • [ x] 202012
  • [x ] 202205

Approach

What is the motivation for this PR?

As per Marvell design nexthop increments only after adding route

How did you do it?

script enhancement

How did you verify/test it?

script passing with the change

Any platform specific information?

Marvell specific changes

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

Documentation

NA

@Blueve
Copy link
Copy Markdown
Collaborator

Blueve commented Dec 8, 2022

Do we need this fix to 201911 and 202012?

@sureshsekar28
Copy link
Copy Markdown
Contributor Author

sureshsekar28 commented Dec 8, 2022 via email

@sureshsekar28 sureshsekar28 force-pushed the sm_crm_nexthop_test_marvell_changes branch from dfcf055 to c851583 Compare December 9, 2022 10:43
@Blueve
Copy link
Copy Markdown
Collaborator

Blueve commented Dec 12, 2022

Hi @sureshsekar28, there are some new styling issues introduced by your change, can you help fix them?

tests/crm/test_crm.py:555:121: E501 line too long (141 > 120 characters)
tests/crm/test_crm.py:561:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:561:40: E231 missing whitespace after ','
tests/crm/test_crm.py:562:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:562:45: E231 missing whitespace after ','
tests/crm/test_crm.py:563:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:564:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:565:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:566:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:568:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:568:40: E231 missing whitespace after ','
tests/crm/test_crm.py:569:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:569:45: E231 missing whitespace after ','
tests/crm/test_crm.py:570:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:571:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:572:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:573:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:574:53: E231 missing whitespace after ','
tests/crm/test_crm.py:574:53: E231 missing whitespace after ','
tests/crm/test_crm.py:610:51: E231 missing whitespace after ','
tests/crm/test_crm.py:610:63: E231 missing whitespace after ','

Copy link
Copy Markdown
Collaborator

@Blueve Blueve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sureshsekar28, there are some new styling issues introduced by your change, can you help fix them?

tests/crm/test_crm.py:555:121: E501 line too long (141 > 120 characters)
tests/crm/test_crm.py:561:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:561:40: E231 missing whitespace after ','
tests/crm/test_crm.py:562:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:562:45: E231 missing whitespace after ','
tests/crm/test_crm.py:563:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:564:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:565:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:566:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:568:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:568:40: E231 missing whitespace after ','
tests/crm/test_crm.py:569:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:569:45: E231 missing whitespace after ','
tests/crm/test_crm.py:570:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:571:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:572:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:573:12: E111 indentation is not a multiple of 4
tests/crm/test_crm.py:574:53: E231 missing whitespace after ','
tests/crm/test_crm.py:574:53: E231 missing whitespace after ','
tests/crm/test_crm.py:610:51: E231 missing whitespace after ','
tests/crm/test_crm.py:610:63: E231 missing whitespace after ','

As per Marvell design nexthop increments only after adding route
Signed-off-by: sureshsekar28 <sureshsekar@marvell.com>

addressed review comments

addressed whitespace styling issues
@sureshsekar28 sureshsekar28 force-pushed the sm_crm_nexthop_test_marvell_changes branch from c851583 to a34f7b2 Compare December 12, 2022 09:34
@sureshsekar28
Copy link
Copy Markdown
Contributor Author

sureshsekar28 commented Dec 12, 2022 via email

@sureshsekar28
Copy link
Copy Markdown
Contributor Author

sureshsekar28 commented Dec 13, 2022 via email

@Blueve Blueve merged commit 55fb46a into sonic-net:master Dec 14, 2022
wangxin pushed a commit that referenced this pull request Dec 19, 2022
What is the motivation for this PR?
As per Marvell design nexthop increments only after adding route

How did you do it?
script enhancement

How did you verify/test it?
script passing with the change

Any platform specific information?
Marvell specific changes

Signed-off-by: sureshsekar28 <sureshsekar@marvell.com>
neethajohn added a commit that referenced this pull request Jan 20, 2023
Signed-off-by: Neetha John <nejo@microsoft.com>

What is the motivation for this PR?
The following commit done as part of cherry-picking to 202012 appears bad (ab3d07d)
This was trying to bring in changes from #6968 and #6994

How did you do it?
Cleaned up the inadvertent changes

How did you verify/test it?
Ran the crm testcase "test_crm_nexthop" with the changes and it passes
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.

3 participants