mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-13 15:29:12 +01:00
test/vectors: give the vector server static storage credentials
The e2e harness ran weed-vector-server without credentials, so lance's AWS object store fell back to IMDS and CreateIndex died on the runner's 411 from the token endpoint. Point it at the test credentials the s3 gateway now reads from s3.json.
This commit is contained in:
1 parent
a9d6bfc51f
commit
5f79d55fb5
2 files changed
+23
No files matched your search
@@ -19,6 +19,7 @@ PIDS+=($!)
|
||||
|
||||
./weed s3 \
|
||||
-filer 127.0.0.1:8888 \
|
||||
-config s3.json \
|
||||
-ip 127.0.0.1 \
|
||||
-ip.bind 127.0.0.1 \
|
||||
-port 8334 \
|
||||
@@ -29,6 +30,8 @@ PIDS+=($!)
|
||||
|
||||
./weed-vector-server \
|
||||
--namespace http://127.0.0.1:9102 \
|
||||
--storage-option aws_access_key_id=test \
|
||||
--storage-option aws_secret_access_key=test \
|
||||
--listen 127.0.0.1:9301 &
|
||||
PIDS+=($!)
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"identities": [
|
||||
{
|
||||
"name": "admin",
|
||||
"credentials": [
|
||||
{
|
||||
"accessKey": "test",
|
||||
"secretKey": "test"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
"Admin",
|
||||
"Read",
|
||||
"List",
|
||||
"Tagging",
|
||||
"Write"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user