Verified Commit b0828c9b authored by Karel Koci's avatar Karel Koci 🤘
Browse files

tests/network/test_lan: wait for network before continuing

This should prevent hopefully failures when network is not yet up in the
client container.
parent 8cc46caa
"""Test LAN access of Internet and software on LAN side.
import time
import pytest
import nsfarm.lxd
import nsfarm
from . import common
# pylint: disable=no-self-use
......@@ -15,4 +14,6 @@ class TestInternet(common.InternetTests):
def client(self, basic_isp, lan1_client):
"""With basic router config and client is client container.
yield nsfarm.cli.Shell(lan1_client.pexpect())
shell = nsfarm.cli.Shell(lan1_client.pexpect())"wait4network")
yield shell
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment