summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorViktor Kleen <viktor@kleen.org>2022-03-22 00:16:07 +0000
committerViktor Kleen <viktor@kleen.org>2022-03-22 13:16:28 +0000
commit6d766ae8b7961fb0ca64639d5318dd29cccc3748 (patch)
tree4f69189a6971355629e83d4253ccac5ea36cd6b2 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent34919ae092e39026dccfd3bb091307c5f5af451e (diff)
nixos/test-driver: deduplicate VLANs
Naively deduplicate VLANs in the python driver for NixOS tests. The current implementation accidentally works, since the VLan class mutates the environment. On construction it sets QEMU_VDE_SOCKET_${id} and this environment variable gets overwritten once a second VLAN with the same id is constructed. Because the NIC flags passed to qemu just use the QEMU_VDE_SOCKET_${id} environment variable, this implicitly chooses a single vde_switch process for each VLAN. However, this leads to unusable vde_switch processes being spawned in each test run and as a side effect makes it impossible to access the correct VLan objects in the interactive test driver. It also makes it remarkably hard to understand why the current implementation ever worked.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions