Skip to content

Commit

Permalink
Use virtio-net instead of rtl8139 network cards for test
Browse files Browse the repository at this point in the history
  • Loading branch information
marusak authored and henrywang committed Aug 20, 2019
1 parent f752b29 commit fafc86c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def run_webdriver_tests(machine, env=[]):

def run_e2e(verbose, image, browser, cpus, memory, sit):
# settings on composer VM
network = testvm.VirtNetwork(0)

# When Windows in use, we need rtl8139, for anything else we want virtio-net-pci
network = testvm.VirtNetwork(0, image="windows-10" if "edge" in browser else image)
composer = testvm.VirtMachine(verbose=verbose, image=image,
networking=network.host(),
memory_mb=memory, cpus=cpus)
Expand Down

0 comments on commit fafc86c

Please sign in to comment.