mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
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:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user