(t *testing.T)
| 21 | } |
| 22 | |
| 23 | func TestClassify_ExecNotFound(t *testing.T) { |
| 24 | t.Parallel() |
| 25 | wrapped := fmt.Errorf("start command: %w", exec.ErrNotFound) |
| 26 | got := lifecycle.Classify(wrapped) |
| 27 | assert.Check(t, errors.Is(got, lifecycle.ErrServerUnavailable)) |
| 28 | assert.Check(t, errors.Is(got, exec.ErrNotFound)) |
| 29 | } |
| 30 | |
| 31 | func TestClassify_FileNotExist(t *testing.T) { |
| 32 | t.Parallel() |