Skip to content

Commit

Permalink
fix: fix scalable jinad test (#4218)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobowitz committed Jan 25, 2022
1 parent 1b7711d commit 3cf7017
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_scale_success(remote_flow_with_runtime: Flow, pod_params):
for r in ret1:
assert len(r.docs) == 10
# replicas are identified via their docker id
for id in r.docs[:, 'tags__docker_id']:
for id in r.docs[:, 'tags__uid']:
replicas.add(id)

assert len(replicas) == num_replicas * shards
Expand All @@ -95,7 +95,7 @@ def test_scale_success(remote_flow_with_runtime: Flow, pod_params):
replicas = set()
for r in ret2:
assert len(r.docs) == 10
for id in r.docs[:, 'tags__docker_id']:
for id in r.docs[:, 'tags__uid']:
replicas.add(id)

assert len(replicas) == scale_to * shards
Expand Down

0 comments on commit 3cf7017

Please sign in to comment.