ca7cdbe6a2ad642f3275d301d273f754570cf1a6,testing/scripts/test_rolling_updates.py,,test_rolling_update5,#,127

Before Change


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")
    r = rest_request_api_gateway("oauth-key","oauth-secret")        

After Change


    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()
    assert r.status_code == 200
    assert r.json()["data"]["tensor"]["values"] == [1.0,2.0,3.0,4.0]
    run("kubectl apply -f ../resources/graph6.json", shell=True, check=True)
    i = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: SeldonIO/seldon-core
Commit Name: ca7cdbe6a2ad642f3275d301d273f754570cf1a6
Time: 2018-11-21
Author: cc@seldon.io
File Name: testing/scripts/test_rolling_updates.py
Class Name:
Method Name: test_rolling_update5


Project Name: SeldonIO/seldon-core
Commit Name: ca7cdbe6a2ad642f3275d301d273f754570cf1a6
Time: 2018-11-21
Author: cc@seldon.io
File Name: testing/scripts/test_rolling_updates.py
Class Name:
Method Name: test_rolling_update4


Project Name: SeldonIO/seldon-core
Commit Name: ca7cdbe6a2ad642f3275d301d273f754570cf1a6
Time: 2018-11-21
Author: cc@seldon.io
File Name: testing/scripts/test_rolling_updates.py
Class Name:
Method Name: test_rolling_update1


Project Name: SeldonIO/seldon-core
Commit Name: ca7cdbe6a2ad642f3275d301d273f754570cf1a6
Time: 2018-11-21
Author: cc@seldon.io
File Name: testing/scripts/test_rolling_updates.py
Class Name:
Method Name: test_rolling_update3


Project Name: SeldonIO/seldon-core
Commit Name: ca7cdbe6a2ad642f3275d301d273f754570cf1a6
Time: 2018-11-21
Author: cc@seldon.io
File Name: testing/scripts/test_rolling_updates.py
Class Name:
Method Name: test_rolling_update2