示例#1
0
 def test_autoscaling(self):
     try:
         create_and_run_script(
             "../../examples/models/autoscaling", "autoscaling_example"
         )
     except CalledProcessError as e:
         run("helm delete loadtester --namespace seldon", shell=True, check=False)
         raise e
示例#2
0
 def test_keda_prom_auto_scale(self):
     try:
         create_and_run_script("../../examples/keda", "keda_prom_auto_scale")
     except CalledProcessError as e:
         run(
             "helm delete seldon-core-analytics --namespace seldon-system",
             shell=True,
             check=False,
         )
         raise e
示例#3
0
 def test_metrics(self):
     try:
         create_and_run_script("../../examples/models/metrics", "general_metrics")
     except CalledProcessError as e:
         run(
             "helm delete seldon-core-analytics --namespace seldon-system",
             shell=True,
             check=False,
         )
         raise e
示例#4
0
 def test_ambassador_canary(self):
     create_and_run_script("../../examples/ambassador/canary", "ambassador_canary")
示例#5
0
 def test_rolling_updates(self):
     create_and_run_script("../../notebooks", "rolling_updates")
示例#6
0
 def test_server_examples(self):
     create_and_run_script("../../notebooks", "server_examples")
示例#7
0
 def test_grpc_metadata(self):
     create_and_run_script("../../examples/models/metadata", "metadata_grpc")
示例#8
0
 def test_ambassador_custom(self):
     create_and_run_script("../../examples/ambassador/custom", "ambassador_custom")
示例#9
0
 def test_disruption_budgets(self):
     create_and_run_script(
         "../../examples/models/disruption_budgets", "pdbs_example"
     )
示例#10
0
 def test_upgrade(self):
     try:
         create_and_run_script("../../notebooks", "operator_upgrade")
     except:
         run("make install_seldon", shell=True, check=False)
         raise
示例#11
0
 def test_custom_metrics_server(self):
     create_and_run_script("../../examples/feedback/metrics-server", "README")
示例#12
0
 def test_helm_examples(self):
     create_and_run_script("../../notebooks", "helm_examples")
示例#13
0
 def test_sklearn_iris(self):
     create_and_run_script("../../examples/models/sklearn_iris", "sklearn_iris")
示例#14
0
 def test_jsondata(self):
     create_and_run_script(
         "../../examples/models/sklearn_iris_jsondata", "sklearn_iris_jsondata"
     )
示例#15
0
 def test_scaling(self):
     create_and_run_script("../../notebooks", "scale")
示例#16
0
 def test_ambassador_headers(self):
     create_and_run_script("../../examples/ambassador/headers", "ambassador_headers")
示例#17
0
 def test_ambassador_shadow(self):
     create_and_run_script("../../examples/ambassador/shadow", "ambassador_shadow")
示例#18
0
 def test_istio_examples(self):
     create_and_run_script("../../notebooks", "istio_example")
示例#19
0
 def test_max_grpc_msg_size(self):
     create_and_run_script("../../notebooks", "max_grpc_msg_size")
示例#20
0
 def test_multiple_operators(self):
     create_and_run_script("../../notebooks", "multiple_operators")
示例#21
0
 def test_graph_metadata(self):
     create_and_run_script("../../examples/models/metadata", "graph_metadata")
示例#22
0
 def test_protocol_examples(self):
     create_and_run_script("../../notebooks", "protocol_examples")
示例#23
0
 def test_payload_logging(self):
     create_and_run_script(
         "../../examples/models/payload_logging", "payload_logging"
     )
示例#24
0
 def test_explainer_examples(self):
     create_and_run_script("../../notebooks", "explainer_examples")