Skip to content

Commit

Permalink
e2e-tests: fix ps path in vm-neonvmd test
Browse files Browse the repository at this point in the history
Signed-off-by: Misha Sakhnov <[email protected]>
  • Loading branch information
mikhail-sakhnov committed Oct 14, 2024
1 parent 4156e39 commit 61091ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/vm-neonvmd/00-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ commands:
- script: |
set -eux
pod="$(kubectl get neonvm -n "$NAMESPACE" example -o jsonpath='{.status.podName}')"
kubectl exec -n "$NAMESPACE" $pod -- ssh guest-vm ps aux -o comm | grep neonvmd | [ $(wc -l) -eq 1 ] || echo "neonvmd process is not found in the $pod"
kubectl exec -n "$NAMESPACE" $pod -- ssh guest-vm /neonvm/bin/ps aux -o comm | grep neonvmd | [ $(wc -l) -eq 1 ] || (echo "neonvmd process is not found in the $pod" && exit 1)
---
apiVersion: vm.neon.tech/v1
kind: VirtualMachine
Expand Down

0 comments on commit 61091ea

Please sign in to comment.