Build output round trip test can have ':'
Clayton Coleman authored on 2015/05/20 01:42:55... | ... |
@@ -114,6 +114,9 @@ func fuzzInternalObject(t *testing.T, forVersion string, item runtime.Object, se |
114 | 114 |
j.To.Kind = "ImageStream" |
115 | 115 |
j.Tag = image.DefaultImageTag |
116 | 116 |
} |
117 |
+ if j.To != nil && strings.Contains(j.To.Name, ":") { |
|
118 |
+ j.To.Name = strings.Replace(j.To.Name, ":", "-", -1) |
|
119 |
+ } |
|
117 | 120 |
} else { |
118 | 121 |
if j.To == nil { |
119 | 122 |
j.Tag = "" |
... | ... |
@@ -256,7 +259,7 @@ var skipV1beta2 = map[string]struct{}{ |
256 | 256 |
"ImageRepository": {}, |
257 | 257 |
} |
258 | 258 |
|
259 |
-const fuzzIters = 20 |
|
259 |
+const fuzzIters = 400 |
|
260 | 260 |
|
261 | 261 |
// For debugging problems |
262 | 262 |
func TestSpecificKind(t *testing.T) { |