1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

Merge pull request #633 from guangxuli/add_break

Merged by openshift-bot
This commit is contained in:
OpenShift Bot
2016-11-03 13:46:08 -04:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ func equalArrayContents(a []string, b []string) bool {
for _, f := range b {
if f == e {
found = true
break
}
}
if !found {

View File

@@ -224,12 +224,15 @@ func TestInstallRequiredOrder(t *testing.T) {
for _, r := range result {
if r.Script == s && r.Script == api.Assemble && r.URL == sourcesRootAbbrev+".s2i/bin/assemble" {
found = true
break
}
if r.Script == s && r.Script == api.Run && r.URL == config.url+"/"+api.Run {
found = true
break
}
if r.Script == s && r.Script == api.SaveArtifacts && r.URL == defaultDockerURL+"/"+api.SaveArtifacts {
found = true
break
}
}
if !found {