Skip to content

Commit

Permalink
dnsdist: Remove me!
Browse files Browse the repository at this point in the history
  • Loading branch information
rgacogne committed Feb 1, 2024
1 parent dbc867e commit 6e4de01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions regression-tests.dnsdist/dnsdisttests.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ def startDNSDist(cls):
if cls._verboseMode:
dnsdistcmd.append('-v')
if cls._sudoMode:
dnsdistcmd.insert(0, '-f')
dnsdistcmd.insert(0, 'strace')
if 'LD_LIBRARY_PATH' in os.environ:
dnsdistcmd.insert(0, 'LD_LIBRARY_PATH=' + os.environ['LD_LIBRARY_PATH'])
dnsdistcmd.insert(0, 'sudo')
Expand Down
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def install_dnsdist_test_deps(c, skipXDP=False): # FIXME: rename this, we do way
lua-socket \
patch \
protobuf-compiler \
python3-venv snmpd prometheus'
python3-venv snmpd strace prometheus'
if not skipXDP:
deps = deps + '\
libbpf1 \
Expand Down Expand Up @@ -871,7 +871,7 @@ def test_dnsdist(c):
c.run('ls -ald /var /var/agentx /var/agentx/master')
c.run('ls -al /var/agentx/master')
with c.cd('regression-tests.dnsdist'):
c.run('DNSDISTBIN=/opt/dnsdist/bin/dnsdist LD_LIBRARY_PATH=/opt/dnsdist/lib/ ENABLE_SUDO_TESTS=1 ./runtests')
c.run('DNSDISTBIN=/opt/dnsdist/bin/dnsdist LD_LIBRARY_PATH=/opt/dnsdist/lib/ ENABLE_SUDO_TESTS=1 ./runtests test_DynBlocksEBPF.py')

@task
def test_regression_recursor(c):
Expand Down

0 comments on commit 6e4de01

Please sign in to comment.