Skip to content

Commit ae7b02e

Browse files
committed
try fix charts
1 parent 4c5593f commit ae7b02e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/slo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
language0: Python SDK over Table Service
5353
workload_path0: tests/slo
5454
workload_build_context0: ../..
55-
workload_build_options0: -f Dockerfile --build-arg SDK_SERVICE=table-service
55+
workload_build_options0: -f Dockerfile --build-arg SDK_SERVICE=sync-python-table
5656

5757
language_id1: sync-python-query
5858
language1: Python SDK over Query Service
5959
workload_path1: tests/slo
6060
workload_build_context1: ../..
61-
workload_build_options1: -f Dockerfile --build-arg SDK_SERVICE=query-service
61+
workload_build_options1: -f Dockerfile --build-arg SDK_SERVICE=sync-python-query
6262

6363
- uses: actions/upload-artifact@v3
6464
if: env.DOCKER_REPO != null

tests/slo/src/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
JOB_READ_LABEL, JOB_WRITE_LABEL = "read", "write"
1414
JOB_STATUS_OK, JOB_STATUS_ERR = "ok", "err"
1515

16-
SDK_SERVICE_NAME = environ.get("SDK_SERVICE", "table-service")
16+
SDK_SERVICE_NAME = environ.get("SDK_SERVICE", "sync-python-table")
1717

1818

1919
class Metrics:

tests/slo/src/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ def run_slo(args, driver, tb_name):
9191
logger.info("Max ID: %s", max_id)
9292

9393
metrics = Metrics(args.prom_pgw)
94-
if SDK_SERVICE_NAME == "table-service":
94+
if SDK_SERVICE_NAME == "sync-python-table":
9595
futures = (
9696
*run_read_jobs(args, driver, tb_name, max_id, metrics),
9797
*run_write_jobs(args, driver, tb_name, max_id, metrics),
9898
run_metric_job(args, metrics),
9999
)
100-
elif SDK_SERVICE_NAME == "query-service":
100+
elif SDK_SERVICE_NAME == "sync-python-query":
101101
futures = (
102102
*run_read_jobs_query(args, driver, tb_name, max_id, metrics),
103103
*run_write_jobs_query(args, driver, tb_name, max_id, metrics),

0 commit comments

Comments
 (0)