aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests/common/garage.rs
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2023-01-12 17:13:03 +0000
committerJonathan Davies <jpds@protonmail.com>2023-01-13 09:39:02 +0000
commit4962b88f8bf40d839863ca39ede6de7aef3a4992 (patch)
treed221029fa038c0f83ed1a581f8c886a27959d6e4 /src/garage/tests/common/garage.rs
parent100b01e85916d57ebff2eb63c915e2c4d2801b47 (diff)
downloadgarage-4962b88f8bf40d839863ca39ede6de7aef3a4992.tar.gz
garage-4962b88f8bf40d839863ca39ede6de7aef3a4992.zip
tests/s3/website.rs: Added website hosting authorization check tests.
Diffstat (limited to 'src/garage/tests/common/garage.rs')
-rw-r--r--src/garage/tests/common/garage.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/garage/tests/common/garage.rs b/src/garage/tests/common/garage.rs
index 44d727f9..8f994f49 100644
--- a/src/garage/tests/common/garage.rs
+++ b/src/garage/tests/common/garage.rs
@@ -25,6 +25,7 @@ pub struct Instance {
pub s3_port: u16,
pub k2v_port: u16,
pub web_port: u16,
+ pub admin_port: u16,
}
impl Instance {
@@ -105,6 +106,7 @@ api_bind_addr = "127.0.0.1:{admin_port}"
s3_port: port,
k2v_port: port + 1,
web_port: port + 3,
+ admin_port: port + 4,
}
}