go: 1.27
Test / Hakurei (push) Failing after 45s
Test / Hakurei (race detector) (push) Failing after 49s
Test / ShareFS (push) Failing after 33s
Test / Sandbox (race detector) (push) Failing after 44s
Test / Sandbox (push) Failing after 49s
Test / Flake checks (push) Skipped
Test / Create distribution (push) Failing after 24s
Test / Hakurei (push) Failing after 45s
Test / Hakurei (race detector) (push) Failing after 49s
Test / ShareFS (push) Failing after 33s
Test / Sandbox (race detector) (push) Failing after 44s
Test / Sandbox (push) Failing after 49s
Test / Flake checks (push) Skipped
Test / Create distribution (push) Failing after 24s
This fixes test cases affected by jsonv2 changes. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -66,7 +66,7 @@ func TestEncodeJSON(t *testing.T) {
|
|||||||
want string
|
want string
|
||||||
}{
|
}{
|
||||||
{"marshaler", errorJSONMarshaler{},
|
{"marshaler", errorJSONMarshaler{},
|
||||||
`cannot encode json for main.errorJSONMarshaler: unique error 3735928559 injected by the test suite`},
|
`cannot encode json for *main.errorJSONMarshaler: unique error 3735928559 injected by the test suite`},
|
||||||
{"default", func() {},
|
{"default", func() {},
|
||||||
`cannot write json: json: unsupported type: func()`},
|
`cannot write json: json: unsupported type: func()`},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ func TestDispatch(t *testing.T) {
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
}, true, []string{`{"kind":"fatal","message":"rejecting coldboot loop","error":"unique error 51966 injected by the test suite"}
|
}, true, []string{`{"kind":"fatal","message":"rejecting coldboot loop","error":"unique error 51966 injected by the test suite"}
|
||||||
`, `{"kind":"inconsistent","message":"processed inconsistent uevent","error":{"fault":1,"event":{"action":"add","devpath":"\u0000","env":{"V":"\ufffd"},"seqnum":2,"subsystem":""},"object":{"state":1,"devpath":"\u0000","subsystem":"","env":{"V":"\ufffd"}}}}
|
`, `{"kind":"inconsistent","message":"processed inconsistent uevent","error":{"fault":1,"event":{"action":"add","devpath":"\u0000","env":{"V":"` + "\ufffd" + `"},"seqnum":2,"subsystem":""},"object":{"state":1,"devpath":"\u0000","subsystem":"","env":{"V":"` + "\ufffd" + `"}}}}
|
||||||
`}, `dispatch: rejecting coldboot loop: unique error 51966 injected by the test suite
|
`}, `dispatch: rejecting coldboot loop: unique error 51966 injected by the test suite
|
||||||
dispatch: processed inconsistent uevent: duplicate add event on devpath "\x00"
|
dispatch: processed inconsistent uevent: duplicate add event on devpath "\x00"
|
||||||
`, nil},
|
`, nil},
|
||||||
|
|||||||
Reference in New Issue
Block a user