Skip to content

Commit

Permalink
fix: k8s tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobowitz committed Mar 26, 2022
1 parent f325e52 commit e587fef
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/k8s/test_graceful_request_handling.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import os
import time
import asyncio
import multiprocessing
import os
import time

import pytest

from jina import Flow, Document
from jina import Document, Flow

cur_dir = os.path.dirname(__file__)

Expand Down Expand Up @@ -33,7 +33,6 @@ async def create_all_flow_deployments_and_wait_ready(
else:
assert file_set == {
'slow-process-executor.yml',
'slow-process-executor-head.yml',
}
for file in file_set:
try:
Expand All @@ -58,12 +57,10 @@ async def create_all_flow_deployments_and_wait_ready(
deployment_names = set([item.metadata.name for item in resp.items])
assert deployment_names == {
'gateway',
'slow-process-executor-head',
'slow-process-executor',
}
expected_replicas = {
'gateway': 1,
'slow-process-executor-head': 1,
'slow-process-executor': 3,
}
while len(deployment_names) > 0:
Expand Down

0 comments on commit e587fef

Please sign in to comment.