Skip to content

Instantly share code, notes, and snippets.

@badboy
Created February 19, 2020 15:01
Show Gist options
  • Save badboy/499a4444857efa1b5cdaba02b06fffc6 to your computer and use it in GitHub Desktop.
Save badboy/499a4444857efa1b5cdaba02b06fffc6 to your computer and use it in GitHub Desktop.
[Running cargo test -p glean-preview --test schema]
Compiling glean-preview v0.0.5 (/Users/jrediger/mozilla/src/glean.rs/glean-core/preview)
Finished test [unoptimized + debuginfo] target(s) in 2.25s
Running target/debug/deps/schema-486af64b29843148
running 1 test
test validate_against_schema ... FAILED
failures:
---- validate_against_schema stdout ----
thread 'validate_against_schema' panicked at 'Data: Object(
{
"client_info": Object(
{
"telemetry_sdk_build": String(
"25.0.0",
),
},
),
"ping_info": Object(
{
"end_time": String(
"2020-02-19T15:59+01:00",
),
"seq": Number(
0,
),
"start_time": String(
"2020-02-19T15:59+01:00",
),
},
),
},
), Validation: ValidationState {
errors: [
Required {
path: "/client_info/app_build",
},
Required {
path: "/client_info/app_display_version",
},
Required {
path: "/client_info/architecture",
},
Required {
path: "/client_info/device_manufacturer",
},
Required {
path: "/client_info/device_model",
},
Required {
path: "/client_info/first_run_date",
},
Required {
path: "/client_info/os",
},
Required {
path: "/client_info/os_version",
},
],
missing: [],
}', glean-core/preview/tests/schema.rs:81:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment