Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update snmpsim to newer version #2954

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: "Install test runner dependencies"
run: |
set -xe
python3 -m pip install --upgrade 'pip==23.1.0' setuptools wheel 'tox<4' tox-gh-actions coverage virtualenv 'snmpsim<1.0' 'pyasn1<0.5.0'
python3 -m pip install --upgrade 'pip==23.1.0' setuptools wheel 'tox<4' tox-gh-actions coverage virtualenv 'snmpsim>=1.0'
sudo apt-get install -y nbtscan

# virtualenv seems to currently be embedding a broken version of
Expand Down
2 changes: 1 addition & 1 deletion tests/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RUN cd /tmp && \
mv chromedriver /usr/local/bin/

# Install our primary test runner
RUN python3.9 -m pip install 'tox<4' 'snmpsim<1.0' 'pyasn1<0.5.0' virtualenv
RUN python3.9 -m pip install 'tox<4' 'snmpsim>=1.0' virtualenv

# Add a build user
ENV USER build
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def snmpsim():
by the test that declares a dependency to this fixture. Data fixtures are loaded
from the snmp_fixtures subdirectory.
"""
snmpsimd = which('snmpsimd.py')
snmpsimd = which('snmpsim-command-responder')
assert snmpsimd, "Could not find snmpsimd.py"
workspace = os.getenv('WORKSPACE', os.getenv('HOME', '/source'))
proc = subprocess.Popen(
Expand Down
Loading