Skip to content

Commit 1cacdb1

Browse files
authored
Disable system-resolved workaround (#5138)
This is now properly applied via `workarounds.dns` role from Testing Farm profiles and should not be needed anymore. Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
1 parent c8f36c6 commit 1cacdb1

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

plans/features/extended-unit-tests.fmf

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,7 @@ discover:
66
how: fmf
77
test: '/tests/unit/.*?/extended'
88

9-
# Disable systemd-resolved to prevent dns failures
10-
# See: https://github.com/teemtee/tmt/issues/2063
119
adjust+:
12-
- when: initiator == packit and distro == fedora
13-
prepare+:
14-
- name: disable systemd resolved
15-
how: shell
16-
script: |
17-
set -x
18-
dnf install -y /usr/bin/netstat
19-
systemctl unmask systemd-resolved
20-
systemctl disable systemd-resolved
21-
systemctl stop systemd-resolved
22-
systemctl mask systemd-resolved
23-
rm -f /etc/resolv.conf
24-
systemctl restart NetworkManager
25-
sleep 5
26-
cat /etc/resolv.conf
27-
ps xa | grep resolv
28-
netstat -pnl
29-
3010
- when: trigger == commit
3111
provision:
3212
hardware:

0 commit comments

Comments
 (0)