Skip to content

Commit 9d03615

Browse files
authored
E2e: Banyandb add metadata-cache-wait-duration args. (#13297)
1 parent d331eb1 commit 9d03615

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

test/e2e-v2/cases/php/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ verify:
6666
- query: |
6767
swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql trace $( \
6868
swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql trace ls --service-name=php\
69-
| yq e '.traces | select(.[].endpointnames[0]=="POST:/php/info") | .[2].traceids[0]' -
69+
| yq e '.traces | select(.[].endpointnames[0]=="POST:/php/info") | .[0].traceids[0]' -
7070
)
7171
expected: expected/trace-info-detail.yml
7272
# dependency service

test/e2e-v2/cases/storage/banyandb/data-generate/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
ports:
2222
- 17912:17912
2323
- 17913:17913
24-
command: standalone --stream-root-path /tmp/stream-data --measure-root-path /tmp/measure-data
24+
command: standalone --stream-root-path /tmp/stream-data --measure-root-path /tmp/measure-data --measure-metadata-cache-wait-duration 1m --stream-metadata-cache-wait-duration 1m
2525
networks:
2626
- e2e
2727
healthcheck:

test/e2e-v2/cases/storage/banyandb/stages/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ verify:
6666
- query: |
6767
swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql trace ls --trace-id=$( \
6868
swctl --display yaml --base-url=http://${oap_host}:${oap_12800}/graphql trace ls --tags http.method=get --start="-96h" --end="-48h" --cold=true \
69-
| yq e '.traces | select(.[].endpointnames[0]=="/dubbox-case/case/dubbox-rest/404-test") | .[2].traceids[0]' -
69+
| yq e '.traces | select(.[].endpointnames[0]=="/dubbox-case/case/dubbox-rest/404-test") | .[0].traceids[0]' -
7070
) --start="-96h" --end="-48h" --cold=true
7171
expected: ../../expected/cold/trace-detail.yml
7272
## topN

test/e2e-v2/script/docker-compose/base-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ services:
5959
ports:
6060
- 17912:17912
6161
- 17913:17913
62-
command: standalone --stream-root-path /tmp/stream-data --measure-root-path /tmp/measure-data
62+
command: standalone --stream-root-path /tmp/stream-data --measure-root-path /tmp/measure-data --measure-metadata-cache-wait-duration 1m --stream-metadata-cache-wait-duration 1m
6363
healthcheck:
6464
test: [ "CMD", "sh", "-c", "nc -nz 127.0.0.1 17912" ]
6565
interval: 5s
@@ -89,7 +89,7 @@ services:
8989
expose:
9090
- 2121
9191
- 6060
92-
command: liaison --etcd-endpoints=http://etcd:2379
92+
command: liaison --etcd-endpoints=http://etcd:2379 --measure-metadata-cache-wait-duration 1m --stream-metadata-cache-wait-duration 1m
9393
healthcheck:
9494
test: [ "CMD", "./bydbctl", "health", "--addr=http://liaison:17913" ]
9595
interval: 5s

test/e2e-v2/script/env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SW_AGENT_CLIENT_JS_COMMIT=af0565a67d382b683c1dbd94c379b7080db61449
2323
SW_AGENT_CLIENT_JS_TEST_COMMIT=4f1eb1dcdbde3ec4a38534bf01dded4ab5d2f016
2424
SW_KUBERNETES_COMMIT_SHA=6fe5e6f0d3b7686c6be0457733e825ee68cb9b35
2525
SW_ROVER_COMMIT=79292fe07f17f98f486e0c4471213e1961fb2d1d
26-
SW_BANYANDB_COMMIT=c4b4384f3083f44ca6067257f5fa59030427ad6b
26+
SW_BANYANDB_COMMIT=dccf207dc9a74225fd4e5ba7c2c3ad6f36e6694a
2727
SW_AGENT_PHP_COMMIT=d1114e7be5d89881eec76e5b56e69ff844691e35
2828
SW_PREDICTOR_COMMIT=54a0197654a3781a6f73ce35146c712af297c994
2929

0 commit comments

Comments
 (0)