31c757198cc1031f1e309d493a17e78dabdc4790,testing/scripts/k8s_utils.py,,setup_finalizer_helm,#Any#,38

Before Change


        run("kubectl delete namespace seldon", shell=True)
        run("kubectl delete namespace test1", shell=True)

    request.addfinalizer(fin)


def get_seldon_version():
    completedProcess = Popen("grep version: ../../helm-charts/seldon-core-operator/Chart.yaml | cut -d: -f2", shell=True, stdout=subprocess.PIPE)

After Change


        run("kubectl delete namespace seldon", shell=True)
        run("kubectl delete namespace test1", shell=True)

    if not request is None:
        request.addfinalizer(fin)


def get_seldon_version():
    completedProcess = Popen("grep version: ../../helm-charts/seldon-core-operator/Chart.yaml | cut -d: -f2", shell=True, stdout=subprocess.PIPE)
    output = completedProcess.stdout.readline()
    version = output.decode("utf-8").strip()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: SeldonIO/seldon-core
Commit Name: 31c757198cc1031f1e309d493a17e78dabdc4790
Time: 2019-05-30
Author: cc@seldon.io
File Name: testing/scripts/k8s_utils.py
Class Name:
Method Name: setup_finalizer_helm


Project Name: SeldonIO/seldon-core
Commit Name: 31c757198cc1031f1e309d493a17e78dabdc4790
Time: 2019-05-30
Author: cc@seldon.io
File Name: testing/scripts/k8s_utils.py
Class Name:
Method Name: port_forward


Project Name: SeldonIO/seldon-core
Commit Name: 31c757198cc1031f1e309d493a17e78dabdc4790
Time: 2019-05-30
Author: cc@seldon.io
File Name: testing/scripts/k8s_utils.py
Class Name:
Method Name: port_forward_docker_repo


Project Name: SeldonIO/seldon-core
Commit Name: 31c757198cc1031f1e309d493a17e78dabdc4790
Time: 2019-05-30
Author: cc@seldon.io
File Name: testing/scripts/k8s_utils.py
Class Name:
Method Name: create_docker_repo