Skip to content

Commit

Permalink
Merge pull request #1381 from mfojtik/fix_extended
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Mar 19, 2015
2 parents 49963b3 + 8090f25 commit ddf48a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/extended/build_docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ func TestDockerStrategyBuild(t *testing.T) {
build := util.GetBuildFixture("fixtures/docker-build.json")
client, _ := util.GetClusterAdminClient(util.KubeConfigPath())

repo := util.CreateSampleImageRepository(namespace)
if repo == nil {
t.Fatal("Failed to create ImageRepository")
}
defer util.DeleteSampleImageRepository(repo, namespace)

// TODO: Tweak the selector to match the build name
watcher, err := client.Builds(namespace).Watch(labels.Everything(), labels.Everything(), "0")
Expand Down
5 changes: 5 additions & 0 deletions test/extended/fixtures/docker-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
}
},
"parameters": {
"output": {
"to": {
"name": "samplerepository"
}
},
"source": {
"type": "Git",
"git": {
Expand Down

0 comments on commit ddf48a2

Please sign in to comment.