Skip to content

[Pytest][Multi ASIC] Update the environment variable in the teardown#1101

Merged
abdosi merged 1 commit intosonic-net:201911from
smaheshm:pfcstat-fix
Sep 8, 2020
Merged

[Pytest][Multi ASIC] Update the environment variable in the teardown#1101
abdosi merged 1 commit intosonic-net:201911from
smaheshm:pfcstat-fix

Conversation

@smaheshm
Copy link
Contributor

@smaheshm smaheshm commented Sep 8, 2020

- What I did
Fix a bug in Multi ASIC interface test.
'multi ASIC' env variable was causing a subsequent test to fail.

- How I did it
Updated the env variable in teardown function.

- How to verify it
verified by running the pytest

running build_ext                                                        
================================================================================ test session starts =================================================================================
platform linux2 -- Python 2.7.13, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /sonic/src/sonic-utilities, inifile: pytest.ini                                                                                                                              
plugins: cov-2.4.0                                            
collected 88 items                                            
                                                              
sonic-utilities-tests/acl_loader_test.py ....                 
sonic-utilities-tests/aclshow_test.py ..........              
sonic-utilities-tests/bgp_commands_test.py ...
sonic-utilities-tests/counterpoll_test.py ...
sonic-utilities-tests/drops_group_test.py ...FFF.                                                                                                                                     
sonic-utilities-tests/feature_test.py .........                                                 
sonic-utilities-tests/filter_fdb_entries_test.py ..........                 
sonic-utilities-tests/intfstat_test.py ........ 
sonic-utilities-tests/intfutil_test.py ........
sonic-utilities-tests/multi_asic_intfutil_test.py .........          
sonic-utilities-tests/pfcstat_test.py .......
sonic-utilities-tests/port2alias_test.py ....
sonic-utilities-tests/psu_test.py ...
sonic-utilities-tests/sfp_test.py ...                             

- 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)

@smaheshm smaheshm requested a review from abdosi September 8, 2020 17:44
@smaheshm
Copy link
Contributor Author

smaheshm commented Sep 8, 2020

retest this please

@smaheshm smaheshm mentioned this pull request Sep 8, 2020
@smaheshm
Copy link
Contributor Author

smaheshm commented Sep 8, 2020

retest this please

@abdosi
Copy link
Contributor

abdosi commented Sep 8, 2020

we can cherry-pick from master . What is corresponding master PR ?

Copy link
Contributor

@abdosi abdosi left a comment

Choose a reason for hiding this comment

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

do we need 201911 specific PR for this ?

@abdosi
Copy link
Contributor

abdosi commented Sep 8, 2020

@arlakshm for viz

@abdosi abdosi merged commit 38f474e into sonic-net:201911 Sep 8, 2020
@smaheshm smaheshm deleted the pfcstat-fix branch October 6, 2020 20:22
@smaheshm smaheshm restored the pfcstat-fix branch October 6, 2020 20:37
@smaheshm smaheshm deleted the pfcstat-fix branch February 26, 2021 22:33
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
 update the environment variable in the teardown (sonic-net#1101)
 Fix for show interface portchannel now working on 201911 (sonic-net#1105)
 [201911]show interface counters for multi ASIC devices (sonic-net#1104)

Signed-off-by: Abhishek Dosi <[email protected]>
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
update the environment variable in the teardown (sonic-net#1101)
Fix for show interface portchannel now working on 201911 (sonic-net#1105)
Revert "Pfcstat (sonic-net#1097)"
Revert " [201911]show interface counters for multi ASIC devices
      (sonic-net#1104)"

Signed-off-by: Abhishek Dosi <[email protected]>
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