da63e0bbd1ac1783f1666d6df412b381dd3de5ab,testing/scripts/test_helm_charts_clusterwide.py,ClusterWideTests,test_single_model,#ClusterWideTests#,50
Before Change
wait_for_rollout("mymodel-mymodel-7cd068f")
r = initial_rest_request()
print("Test OAuth REST gateway")
r = rest_request_api_gateway("oauth-key","oauth-secret","test1",API_GATEWAY_REST)
res = r.json()
print(res)
assert r.status_code == 200
assert len(r.json()["data"]["tensor"]["values"]) == 1
print("Test Ambassador REST gateway")
r = rest_request_ambassador("mymodel","test1",API_AMBASSADOR)
res = r.json()
print(res)
assert r.status_code == 200
assert len(r.json()["data"]["tensor"]["values"]) == 1
print("Test Oauth gRPC gateway")
r = grpc_request_api_gateway2("oauth-key","oauth-secret","test1",rest_endpoint=API_GATEWAY_REST,grpc_endpoint=API_GATEWAY_GRPC)
print(r)
print("Test Ambassador gRPC gateway")
r = grpc_request_ambassador2("mymodel","test1",API_AMBASSADOR)
print(r)
run("helm delete mymodel --purge", shell=True)
After Change
initial_rest_request("mymodel", "test1")
print("Test Ambassador REST gateway")
r = rest_request_ambassador("mymodel", "test1", API_AMBASSADOR)
print(r.json())
assert r.status_code == 200
assert len(r.json()["data"]["tensor"]["values"]) == 1
print("Test Ambassador gRPC gateway")
r = grpc_request_ambassador2("mymodel", "test1", API_AMBASSADOR)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: SeldonIO/seldon-core
Commit Name: da63e0bbd1ac1783f1666d6df412b381dd3de5ab
Time: 2019-07-02
Author: cc@seldon.io
File Name: testing/scripts/test_helm_charts_clusterwide.py
Class Name: ClusterWideTests
Method Name: test_single_model
Project Name: SeldonIO/seldon-core
Commit Name: da63e0bbd1ac1783f1666d6df412b381dd3de5ab
Time: 2019-07-02
Author: cc@seldon.io
File Name: testing/scripts/test_helm_charts_clusterwide.py
Class Name: ClusterWideTests
Method Name: test_mab_model
Project Name: SeldonIO/seldon-core
Commit Name: da63e0bbd1ac1783f1666d6df412b381dd3de5ab
Time: 2019-07-02
Author: cc@seldon.io
File Name: testing/scripts/test_helm_charts_clusterwide.py
Class Name: ClusterWideTests
Method Name: test_single_model
Project Name: SeldonIO/seldon-core
Commit Name: da63e0bbd1ac1783f1666d6df412b381dd3de5ab
Time: 2019-07-02
Author: cc@seldon.io
File Name: testing/scripts/test_helm_charts_clusterwide.py
Class Name: ClusterWideTests
Method Name: test_abtest_model