flakes fixes
Increase timeout to avoid TestGCDefault flaking
Locally raising timeout from 1 to 2 seconds made the test always
pass, as opposed to always fail.
Make TestOadmPodNetwork less flakey
@@ -74,7 +74,7 @@ func TestGCDefaults(t *testing.T) {
// the buildconfig or the orphaning step won't find anything to orphan, then the delete will complete, the configmap
// creation will be observed, there will be no parent, and the configmap will be deleted.
// There is no API to determine if the configmap was observed.
- time.Sleep(1 * time.Second)
+ time.Sleep(3 * time.Second)
// this looks weird, but we want no new dependencies on the old client
if err := newBuildClient.Build().RESTClient().Delete().AbsPath("/oapi/v1/namespaces/" + ns + "/buildconfigs/" + buildConfig.Name).Do().Error(); err != nil {
