k3s/pkg/kubectl/cmd/testdata/edit/testcase-missing-service/test.yaml

16 lines
352 B
YAML
Executable File

description: add a testcase description
mode: edit
args:
- service/missing
namespace: "default"
expectedStderr:
- services "missing" not found
expectedExitCode: 1
steps:
- type: request
expectedMethod: GET
expectedPath: /api/v1/namespaces/default/services/missing
expectedInput: 0.request
resultingStatusCode: 404
resultingOutput: 0.response