(t *testing.T, projectName, service, status string, ps string)
| 27 | ) |
| 28 | |
| 29 | func assertServiceStatus(t *testing.T, projectName, service, status string, ps string) { |
| 30 | // match output with random spaces like: |
| 31 | // e2e-start-stop-db-1 alpine:latest "echo hello" db 1 minutes ago Exited (0) 1 minutes ago |
| 32 | regx := fmt.Sprintf("%s-%s-1.+%s\\s+.+%s.+", projectName, service, service, status) |
| 33 | assert.Assert(t, is.Regexp(regx, ps)) |
| 34 | } |
| 35 | |
| 36 | func TestRestart(t *testing.T) { |
| 37 | c := NewParallelCLI(t) |
no outgoing calls
no test coverage detected