diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index d6c18e1cd9..ef1dc62b4a 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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 diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile index cb8d9ee571..dbf8e6d841 100644 --- a/tests/docker/Dockerfile +++ b/tests/docker/Dockerfile @@ -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 diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 611f40fb32..f2ea938d1d 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -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(