summaryrefslogtreecommitdiffstats
path: root/test/integration/openshift_health_checker/preflight/preflight_test.go
blob: a1b98bf0fe42a38d9155e1e7c33150b80cfb119e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package preflight

import (
	"testing"

	. ".."
)

func TestPreflightFailAll(t *testing.T) {
	PlaybookTest{
		Path:     "playbooks/preflight_fail_all.yml",
		ExitCode: 2,
		Output: []string{
			"Failure summary",
			"Cannot install all of the necessary packages",
			"origin-clients",
			"origin-master",
			"origin-node",
			"origin-sdn-ovs",
			"python-httplib2",
			"failed=1",
		},
	}.Run(t)
}