test: disable web server for container tests

The container tests utilize the bundled curios-httpd, which clashes with
the new web services provided by nginx.  So we need to disable it while
testing all the containers.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2024-04-15 15:36:41 +02:00
parent efec5f57cd
commit e18ddcf0c8
4 changed files with 20 additions and 0 deletions
@@ -23,6 +23,11 @@ with infamy.Test() as test:
addr = target.address()
with test.step(f"Create {NAME} container from bundled OCI image"):
target.put_config_dict("infix-services", {
"web": {
"enabled": False
}
})
target.put_config_dict("infix-containers", {
"containers": {
"container": [
@@ -25,6 +25,11 @@ with infamy.Test() as test:
_, ifname = env.ltop.xlate("target", "data")
enc = base64.b64encode(BODY.encode('utf-8'))
target.put_config_dict("infix-services", {
"web": {
"enabled": False
}
})
target.put_config_dict("ietf-interfaces", {
"interfaces": {
"interface": [
@@ -22,6 +22,11 @@ with infamy.Test() as test:
with test.step(f"Create {NAME} container from bundled OCI image"):
_, ifname = env.ltop.xlate("target", "data")
target.put_config_dict("infix-services", {
"web": {
"enabled": False
}
})
target.put_config_dict("ietf-interfaces", {
"interfaces": {
"interface": [
@@ -22,6 +22,11 @@ with infamy.Test() as test:
with test.step(f"Create {NAME} container from bundled OCI image"):
_, ifname = env.ltop.xlate("target", "data")
target.put_config_dict("infix-services", {
"web": {
"enabled": False
}
})
target.put_config_dict("ietf-interfaces", {
"interfaces": {
"interface": [