Update compatibility test

--- FAIL: TestCompatibility (1.44s)
    --- FAIL: TestCompatibility/core.v1.Event (0.02s)
        --- FAIL: TestCompatibility/core.v1.Event/v1.17.0 (0.01s)
            compatibility.go:488: proto differs
            compatibility.go:490:   strings.Join({
                  	... // 79 identical lines
                  	"      2: 456715000",
                  	"    }",
                - 	`    3: ""`,
                  	"  }",
                  	`  12: "30"`,
                  	... // 18 identical lines
                  }, "\n")

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
        --- FAIL: TestCompatibility/core.v1.Event/v1.18.0 (0.01s)
            compatibility.go:488: proto differs
            compatibility.go:490:   strings.Join({
                  	... // 79 identical lines
                  	"      2: 456715000",
                  	"    }",
                - 	`    3: ""`,
                  	"  }",
                  	`  12: "30"`,
                  	... // 18 identical lines
                  }, "\n")

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
    --- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event (0.02s)
        --- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event/v1.17.0 (0.01s)
            compatibility.go:476: json differs
            compatibility.go:477:   strings.Join({
                  	... // 43 identical lines
                  	`  "series": {`,
                  	`    "count": -1971381490,`,
                - 	`    "lastObservedTime": "2429-02-18T17:57:56.343118Z",`,
                - 	`    "state": "鯹)晿\u003c"`,
                + 	`    "lastObservedTime": "2429-02-18T17:57:56.343118Z"`,
                  	"  },",
                  	`  "reportingController": "19",`,
                  	... // 31 identical lines
                  }, "\n")

            compatibility.go:482: yaml differs
            compatibility.go:483:   strings.Join({
                  	... // 60 identical lines
                  	"  count: -1971381490",
                  	`  lastObservedTime: "2429-02-18T17:57:56.343118Z"`,
                - 	"  state: 鯹)晿<",
                  	`type: "36"`,
                  	"",
                  }, "\n")

            compatibility.go:488: proto differs
            compatibility.go:490:   strings.Join({
                  	... // 54 identical lines
                  	"      2: 343118000",
                  	"    }",
                - 	`    3: "\351\257\271)\346\231\277<"`,
                  	"  }",
                  	`  4: "19"`,
                  	... // 43 identical lines
                  }, "\n")

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
        --- FAIL: TestCompatibility/events.k8s.io.v1beta1.Event/v1.18.0 (0.01s)
            compatibility.go:476: json differs
            compatibility.go:477:   strings.Join({
                  	... // 43 identical lines
                  	`  "series": {`,
                  	`    "count": -1971381490,`,
                - 	`    "lastObservedTime": "2429-02-18T17:57:56.343118Z",`,
                - 	`    "state": "鯹)晿\u003c"`,
                + 	`    "lastObservedTime": "2429-02-18T17:57:56.343118Z"`,
                  	"  },",
                  	`  "reportingController": "19",`,
                  	... // 31 identical lines
                  }, "\n")

            compatibility.go:482: yaml differs
            compatibility.go:483:   strings.Join({
                  	... // 60 identical lines
                  	"  count: -1971381490",
                  	`  lastObservedTime: "2429-02-18T17:57:56.343118Z"`,
                - 	"  state: 鯹)晿<",
                  	`type: "36"`,
                  	"",
                  }, "\n")

            compatibility.go:488: proto differs
            compatibility.go:490:   strings.Join({
                  	... // 54 identical lines
                  	"      2: 343118000",
                  	"    }",
                - 	`    3: "\351\257\271)\346\231\277<"`,
                  	"  }",
                  	`  4: "19"`,
                  	... // 43 identical lines
                  }, "\n")

            compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
This commit is contained in:
wojtekt 2020-04-27 18:50:08 +02:00
parent 5a9b6a3114
commit 13d74c8c04
14 changed files with 297 additions and 15 deletions

View File

@ -69,7 +69,7 @@
"kind": "31",
"namespace": "32",
"name": "33",
"uid": "ʤ脽ěĂ凗蓏Ŋ蛊ĉy緅縕\u003eŽ",
"uid": "5ƗǸƢ6/ʕVŚ(ĿȊ甞",
"apiVersion": "34",
"resourceVersion": "35",
"fieldPath": "36"

View File

@ -51,7 +51,7 @@ related:
name: "33"
namespace: "32"
resourceVersion: "35"
uid: ʤ脽ěĂ凗蓏Ŋ蛊ĉy緅縕>Ž
uid: 5ƗǸƢ6/ʕVŚ(ĿȊ甞
reportingComponent: "37"
reportingInstance: "38"
series:

View File

@ -43,8 +43,7 @@
"eventTime": "2482-03-20T23:11:25.602224Z",
"series": {
"count": -1971381490,
"lastObservedTime": "2429-02-18T17:57:56.343118Z",
"state": "鯹)晿\u003c"
"lastObservedTime": "2429-02-18T17:57:56.343118Z"
},
"reportingController": "19",
"reportingInstance": "20",
@ -54,7 +53,7 @@
"kind": "23",
"namespace": "24",
"name": "25",
"uid": "Ĩɘ.蘯6ċV夸eɑeʤ脽ěĂ",
"uid": "鯹)晿\u003c",
"apiVersion": "26",
"resourceVersion": "27",
"fieldPath": "28"
@ -63,7 +62,7 @@
"kind": "29",
"namespace": "30",
"name": "31",
"uid": "蓏Ŋ",
"uid": ",c鮽ort昍řČ扷5ƗǸƢ6/ʕ",
"apiVersion": "32",
"resourceVersion": "33",
"fieldPath": "34"
@ -74,7 +73,7 @@
"component": "37",
"host": "38"
},
"deprecatedFirstTimestamp": "2964-12-12T12:04:40Z",
"deprecatedLastTimestamp": "2452-08-27T22:01:15Z",
"deprecatedCount": 1804227960
"deprecatedFirstTimestamp": "2235-03-09T09:44:15Z",
"deprecatedLastTimestamp": "2964-12-12T12:04:40Z",
"deprecatedCount": -180456314
}

View File

@ -1,8 +1,8 @@
action: "21"
apiVersion: events.k8s.io/v1beta1
deprecatedCount: 1804227960
deprecatedFirstTimestamp: "2964-12-12T12:04:40Z"
deprecatedLastTimestamp: "2452-08-27T22:01:15Z"
deprecatedCount: -180456314
deprecatedFirstTimestamp: "2235-03-09T09:44:15Z"
deprecatedLastTimestamp: "2964-12-12T12:04:40Z"
deprecatedSource:
component: "37"
host: "38"
@ -46,7 +46,7 @@ regarding:
name: "25"
namespace: "24"
resourceVersion: "27"
uid: Ĩɘ.蘯6ċV夸eɑeʤ脽ěĂ
uid: 鯹)晿<
related:
apiVersion: "32"
fieldPath: "34"
@ -54,11 +54,10 @@ related:
name: "31"
namespace: "30"
resourceVersion: "33"
uid: 蓏Ŋ
uid: ',c鮽ort昍řČ扷5ƗǸƢ6/ʕ'
reportingController: "19"
reportingInstance: "20"
series:
count: -1971381490
lastObservedTime: "2429-02-18T17:57:56.343118Z"
state: 鯹)晿<
type: "36"

View File

@ -0,0 +1,79 @@
{
"kind": "Event",
"apiVersion": "events.k8s.io/v1beta1",
"metadata": {
"name": "2",
"generateName": "3",
"namespace": "4",
"selfLink": "5",
"uid": "7",
"resourceVersion": "11042405498087606203",
"generation": 8071137005907523419,
"creationTimestamp": null,
"deletionGracePeriodSeconds": -4955867275792137171,
"labels": {
"7": "8"
},
"annotations": {
"9": "10"
},
"ownerReferences": [
{
"apiVersion": "11",
"kind": "12",
"name": "13",
"uid": "Dz廔ȇ{sŊƏp",
"controller": false,
"blockOwnerDeletion": true
}
],
"finalizers": [
"14"
],
"clusterName": "15",
"managedFields": [
{
"manager": "16",
"operation": "鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć]",
"apiVersion": "17",
"fieldsType": "18"
}
]
},
"eventTime": "2482-03-20T23:11:25.602224Z",
"series": {
"count": -1971381490,
"lastObservedTime": "2429-02-18T17:57:56.343118Z"
},
"reportingController": "19",
"reportingInstance": "20",
"action": "21",
"reason": "22",
"regarding": {
"kind": "23",
"namespace": "24",
"name": "25",
"uid": "Ĩɘ.蘯6ċV夸eɑeʤ脽ěĂ",
"apiVersion": "26",
"resourceVersion": "27",
"fieldPath": "28"
},
"related": {
"kind": "29",
"namespace": "30",
"name": "31",
"uid": "蓏Ŋ",
"apiVersion": "32",
"resourceVersion": "33",
"fieldPath": "34"
},
"note": "35",
"type": "36",
"deprecatedSource": {
"component": "37",
"host": "38"
},
"deprecatedFirstTimestamp": "2964-12-12T12:04:40Z",
"deprecatedLastTimestamp": "2452-08-27T22:01:15Z",
"deprecatedCount": 1804227960
}

View File

@ -0,0 +1,63 @@
action: "21"
apiVersion: events.k8s.io/v1beta1
deprecatedCount: 1804227960
deprecatedFirstTimestamp: "2964-12-12T12:04:40Z"
deprecatedLastTimestamp: "2452-08-27T22:01:15Z"
deprecatedSource:
component: "37"
host: "38"
eventTime: "2482-03-20T23:11:25.602224Z"
kind: Event
metadata:
annotations:
"9": "10"
clusterName: "15"
creationTimestamp: null
deletionGracePeriodSeconds: -4955867275792137171
finalizers:
- "14"
generateName: "3"
generation: 8071137005907523419
labels:
"7": "8"
managedFields:
- apiVersion: "17"
fieldsType: "18"
manager: "16"
operation: 鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć]
name: "2"
namespace: "4"
ownerReferences:
- apiVersion: "11"
blockOwnerDeletion: true
controller: false
kind: "12"
name: "13"
uid: Dz廔ȇ{sŊƏp
resourceVersion: "11042405498087606203"
selfLink: "5"
uid: "7"
note: "35"
reason: "22"
regarding:
apiVersion: "26"
fieldPath: "28"
kind: "23"
name: "25"
namespace: "24"
resourceVersion: "27"
uid: Ĩɘ.蘯6ċV夸eɑeʤ脽ěĂ
related:
apiVersion: "32"
fieldPath: "34"
kind: "29"
name: "31"
namespace: "30"
resourceVersion: "33"
uid: 蓏Ŋ
reportingController: "19"
reportingInstance: "20"
series:
count: -1971381490
lastObservedTime: "2429-02-18T17:57:56.343118Z"
type: "36"

View File

@ -0,0 +1,79 @@
{
"kind": "Event",
"apiVersion": "events.k8s.io/v1beta1",
"metadata": {
"name": "2",
"generateName": "3",
"namespace": "4",
"selfLink": "5",
"uid": "7",
"resourceVersion": "11042405498087606203",
"generation": 8071137005907523419,
"creationTimestamp": null,
"deletionGracePeriodSeconds": -4955867275792137171,
"labels": {
"7": "8"
},
"annotations": {
"9": "10"
},
"ownerReferences": [
{
"apiVersion": "11",
"kind": "12",
"name": "13",
"uid": "Dz廔ȇ{sŊƏp",
"controller": false,
"blockOwnerDeletion": true
}
],
"finalizers": [
"14"
],
"clusterName": "15",
"managedFields": [
{
"manager": "16",
"operation": "鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć]",
"apiVersion": "17",
"fieldsType": "18"
}
]
},
"eventTime": "2482-03-20T23:11:25.602224Z",
"series": {
"count": -1971381490,
"lastObservedTime": "2429-02-18T17:57:56.343118Z"
},
"reportingController": "19",
"reportingInstance": "20",
"action": "21",
"reason": "22",
"regarding": {
"kind": "23",
"namespace": "24",
"name": "25",
"uid": "Ĩɘ.蘯6ċV夸eɑeʤ脽ěĂ",
"apiVersion": "26",
"resourceVersion": "27",
"fieldPath": "28"
},
"related": {
"kind": "29",
"namespace": "30",
"name": "31",
"uid": "蓏Ŋ",
"apiVersion": "32",
"resourceVersion": "33",
"fieldPath": "34"
},
"note": "35",
"type": "36",
"deprecatedSource": {
"component": "37",
"host": "38"
},
"deprecatedFirstTimestamp": "2964-12-12T12:04:40Z",
"deprecatedLastTimestamp": "2452-08-27T22:01:15Z",
"deprecatedCount": 1804227960
}

View File

@ -0,0 +1,63 @@
action: "21"
apiVersion: events.k8s.io/v1beta1
deprecatedCount: 1804227960
deprecatedFirstTimestamp: "2964-12-12T12:04:40Z"
deprecatedLastTimestamp: "2452-08-27T22:01:15Z"
deprecatedSource:
component: "37"
host: "38"
eventTime: "2482-03-20T23:11:25.602224Z"
kind: Event
metadata:
annotations:
"9": "10"
clusterName: "15"
creationTimestamp: null
deletionGracePeriodSeconds: -4955867275792137171
finalizers:
- "14"
generateName: "3"
generation: 8071137005907523419
labels:
"7": "8"
managedFields:
- apiVersion: "17"
fieldsType: "18"
manager: "16"
operation: 鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć]
name: "2"
namespace: "4"
ownerReferences:
- apiVersion: "11"
blockOwnerDeletion: true
controller: false
kind: "12"
name: "13"
uid: Dz廔ȇ{sŊƏp
resourceVersion: "11042405498087606203"
selfLink: "5"
uid: "7"
note: "35"
reason: "22"
regarding:
apiVersion: "26"
fieldPath: "28"
kind: "23"
name: "25"
namespace: "24"
resourceVersion: "27"
uid: Ĩɘ.蘯6ċV夸eɑeʤ脽ěĂ
related:
apiVersion: "32"
fieldPath: "34"
kind: "29"
name: "31"
namespace: "30"
resourceVersion: "33"
uid: 蓏Ŋ
reportingController: "19"
reportingInstance: "20"
series:
count: -1971381490
lastObservedTime: "2429-02-18T17:57:56.343118Z"
type: "36"