Skip to content

Commit

Permalink
testing: watsonx-serving: test_scale: properly capture the verbose ru…
Browse files Browse the repository at this point in the history
…n of grpcurl

otherwise it just returns 'Too many arguments' :/
  • Loading branch information
kpouget committed Aug 24, 2023
1 parent 1c8f287 commit f7377f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/watsonx-serving/test_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def validate_model_deployment(namespace):
break

if tries == 1:
run.run(f"""grpcurl -insecure -d '{{"text": "At what temperature does liquid Nitrogen boil?"}}' -H "mm-model-id: flan-t5-small-caikit" {ksvc_hostname}:443 caikit.runtime.Nlp.NlpService/TextGenerationTaskPredict &> {env.ARTIFACT_DIR}/artifacts/Invalid.answer""", check=False)
run.run(f"""grpcurl -vv -insecure -d '{{"text": "At what temperature does liquid Nitrogen boil?"}}' -H "mm-model-id: flan-t5-small-caikit" {ksvc_hostname}:443 caikit.runtime.Nlp.NlpService/TextGenerationTaskPredict &> {env.ARTIFACT_DIR}/artifacts/Invalid.answer""", check=False)

time.sleep(0.5)

Expand Down

0 comments on commit f7377f0

Please sign in to comment.