// Test updating a model to a multi predictor model
def test_rolling_update5():
run("kubectl delete sdep --all", shell=True)
print("sleeping 30 secs...")
time.sleep(30)
run("kubectl apply -f ../resources/graph1.json", shell=True, check=True)
wait_for_rollout("mymodel-mymodel-svc-orch")
wait_for_rollout("mymodel-mymodel-e2eb561")
After Change
// Test updating a model to a multi predictor model
def test_rolling_update5():
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")
r = initial_rest_request()