(t *testing.T)
| 56 | } |
| 57 | |
| 58 | func TestShutdownCommandFails(t *testing.T) { |
| 59 | _, err := invokeProxyCommand([]string{ |
| 60 | "shutdown", |
| 61 | // assuming default host and port |
| 62 | "--wait=100ms", |
| 63 | }) |
| 64 | if err == nil { |
| 65 | t.Fatal("shutdown should fail when endpoint does not respond") |
| 66 | } |
| 67 | } |
nothing calls this directly
no test coverage detected