Browse code

eliminate v1beta3 round trip in the fuzzer. We don't have to go out from there, only in

deads2k authored on 2016/02/04 06:06:51
Showing 1 changed files
... ...
@@ -462,12 +462,6 @@ func TestSpecificKind(t *testing.T) {
462 462
 	}
463 463
 	seed := int64(2703387474910584091) //rand.Int63()
464 464
 	for i := 0; i < fuzzIters; i++ {
465
-		t.Logf(`About to test %v with ""`, kind)
466
-		fuzzInternalObject(t, "", item, seed)
467
-		roundTrip(t, osapi.Codec, item)
468
-		t.Logf(`About to test %v with "v1beta3"`, kind)
469
-		fuzzInternalObject(t, "v1beta3", item, seed)
470
-		roundTrip(t, v1beta3.Codec, item)
471 465
 		t.Logf(`About to test %v with "v1"`, kind)
472 466
 		fuzzInternalObject(t, "v1", item, seed)
473 467
 		roundTrip(t, v1.Codec, item)
... ...
@@ -506,12 +500,6 @@ func TestTypes(t *testing.T) {
506 506
 				}
507 507
 				continue
508 508
 			}
509
-			t.Logf(`About to test %v with ""`, kind)
510
-			fuzzInternalObject(t, "", item, seed)
511
-			roundTrip(t, osapi.Codec, item)
512
-			t.Logf(`About to test %v with "v1beta3"`, kind)
513
-			fuzzInternalObject(t, "v1beta3", item, seed)
514
-			roundTrip(t, v1beta3.Codec, item)
515 509
 			t.Logf(`About to test %v with "v1"`, kind)
516 510
 			fuzzInternalObject(t, "v1", item, seed)
517 511
 			roundTrip(t, v1.Codec, item)