Skip to content

Commit

Permalink
debug rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
adambkaplan committed Oct 16, 2019
1 parent dc63ff2 commit e5dc28c
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions test/extended/builds/cluster_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@ import (
"fmt"
"time"

v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/apimachinery/pkg/util/wait"
e2e "k8s.io/kubernetes/test/e2e/framework"

g "github.com/onsi/ginkgo"
o "github.com/onsi/gomega"

buildv1 "github.com/openshift/api/build/v1"
configv1 "github.com/openshift/api/config/v1"
operatorv1 "github.com/openshift/api/operator/v1"
exutil "github.com/openshift/origin/test/extended/util"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/apimachinery/pkg/util/wait"
)

// e2e tests of the build controller configuration.
Expand Down Expand Up @@ -94,6 +96,12 @@ var _ = g.Describe("[Feature:Builds][Serial][Slow][Disruptive] alter builds via
ds.Status.UpdatedNumberScheduled == ds.Status.DesiredNumberScheduled {
return true, nil
}
e2e.Logf("ocm Desired: %d, Current: %d, Ready: %d, Available: %d, Updated: %d",
ds.Status.DesiredNumberScheduled,
ds.Status.CurrentNumberScheduled,
ds.Status.NumberReady,
ds.Status.NumberAvailable,
ds.Status.UpdatedNumberScheduled)
return false, nil
})
o.Expect(err).NotTo(o.HaveOccurred())
Expand Down

0 comments on commit e5dc28c

Please sign in to comment.