mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
#SQUASH bats
This commit is contained in:
parent
302bfebe50
commit
3e0c95aa5c
@ -33,12 +33,12 @@ setup() {
|
||||
|
||||
@test "NVIDIA NIM Llama 3.1-8b Instruct" {
|
||||
kubectl create -f "${pod_yaml}"
|
||||
kubectl wait --for=condition=Ready --timeout=500s pod "${POD_NAME_INSTRUCT}"
|
||||
export POD_IP_INSTRUCT=$(kubectl get pod "${POD_NAME_INSTRUCT}" -o jsonpath='{.status.podIP}')
|
||||
kubectl wait --for=condition=Ready --timeout=500s pod "${POD_NAME_INSTRUCT}" -n default
|
||||
export POD_IP_INSTRUCT=$(kubectl get pod "${POD_NAME_INSTRUCT}" -n default -o jsonpath='{.status.podIP}')
|
||||
}
|
||||
|
||||
@test "NVIDIA NIM Llama 3.2-1b-v2 EmbedQA" {
|
||||
export POD_IP_EMBEDQA=$(kubectl get pod "${POD_NAME_EMBEDQA}" -o jsonpath='{.status.podIP}')
|
||||
export POD_IP_EMBEDQA=$(kubectl get pod "${POD_NAME_EMBEDQA}" -n default -o jsonpath='{.status.podIP}')
|
||||
}
|
||||
|
||||
@test "List of models available for inference" {
|
||||
@ -241,6 +241,6 @@ EOF
|
||||
# [ "$output" = "The NVIDIA Jetson Nano Developer Kit is a small, powerful computer designed for AI and robotics applications." ]
|
||||
}
|
||||
teardown() {
|
||||
kubectl describe "pod/$POD_NAME_INSTRUCT"
|
||||
kubectl delete pod "$POD_NAME_INSTRUCT"
|
||||
kubectl describe "pod/$POD_NAME_INSTRUCT" -n default
|
||||
kubectl delete pod "$POD_NAME_INSTRUCT" -n default
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user