1727f1d76e4f231f5bcae885b5b19fb498addb6b,testing/scripts/test_rolling_updates.py,TestRollingHttp,test_rolling_update1,#TestRollingHttp#,22
Before Change
// Test updating a model with a new image version as the only change
def test_rolling_update1(self):
run("kubectl delete sdep --all", shell=True)
wait_for_shutdown("mymodel-mymodel-e2eb561")
run("kubectl apply -f ../resources/graph1.json", shell=True, check=True)
wait_for_rollout("mymodel-mymodel-e2eb561")
print("Initial request")
r = initial_rest_request("mymodel", "seldon")
After Change
shell=True,
check=True,
)
run(
f"kubectl delete -f ../resources/graph2.json -n {namespace}",
shell=True,
check=True,
)
run(f"kubectl delete namespace {namespace}", shell=True, check=True)
// test changing the image version and the name of its container
def test_rolling_update2(self):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances Project Name: SeldonIO/seldon-core
Commit Name: 1727f1d76e4f231f5bcae885b5b19fb498addb6b
Time: 2019-11-14
Author: axsauze@gmail.com
File Name: testing/scripts/test_rolling_updates.py
Class Name: TestRollingHttp
Method Name: test_rolling_update1
Project Name: SeldonIO/seldon-core
Commit Name: 1727f1d76e4f231f5bcae885b5b19fb498addb6b
Time: 2019-11-14
Author: axsauze@gmail.com
File Name: testing/scripts/test_rolling_updates.py
Class Name: TestRollingHttp
Method Name: test_rolling_update4
Project Name: SeldonIO/seldon-core
Commit Name: 1727f1d76e4f231f5bcae885b5b19fb498addb6b
Time: 2019-11-14
Author: axsauze@gmail.com
File Name: testing/scripts/test_rolling_updates.py
Class Name: TestRollingHttp
Method Name: test_rolling_update3
Project Name: SeldonIO/seldon-core
Commit Name: 1727f1d76e4f231f5bcae885b5b19fb498addb6b
Time: 2019-11-14
Author: axsauze@gmail.com
File Name: testing/scripts/test_rolling_updates.py
Class Name: TestRollingHttp
Method Name: test_rolling_update2