Teach serde test to deal with autoscaling group's duality.

This commit is contained in:
Madhusudan.C.S
2016-02-25 15:05:28 -08:00
parent 312a7f36e2
commit b69ec9faff
3 changed files with 40 additions and 5 deletions

View File

@@ -41,7 +41,8 @@ func init() {
}
testapi.Groups[testgroup.SchemeGroupVersion.Group] = testapi.NewTestGroup(
registered.GroupOrDie(testgroup.SchemeGroupVersion.Group).GroupVersion,
testgroup.SchemeGroupVersion)
testgroup.SchemeGroupVersion,
api.Scheme.KnownTypes(testgroup.SchemeGroupVersion))
testHelper = testapi.Groups[testgroup.SchemeGroupVersion.Group]
}