Skip to content

Commit

Permalink
Reset sflow code, as it was fixed by sonic-net#2847.
Browse files Browse the repository at this point in the history
Signed-off-by: LTeng <[email protected]>
  • Loading branch information
LGH-12 committed Jun 30, 2023
1 parent fab3a34 commit 2e35299
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/sflow_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,17 +264,6 @@ def test_config_sflow_polling_interval(self):
print(result.exit_code, result.output)
assert result.exit_code == 0

#set to 301
result = runner.invoke(config.config.commands["sflow"].
commands["polling-interval"], ["301"], obj=obj)
print(result.exit_code, result.output)
assert result.exit_code != 0
# run show and check
result = runner.invoke(show.cli.commands["sflow"], [], obj=db)
print(result.exit_code, result.output)
assert result.exit_code == 0
assert result.output == show_sflow_output

return

@patch("config.main.ConfigDBConnector.get_table", mock.Mock(return_value={'Ethernet1': {'admin_state': 'sample_state'}}))
Expand Down

0 comments on commit 2e35299

Please sign in to comment.