Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-sentry committed Jul 22, 2024
1 parent 8e376e8 commit 142713a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
source: src/processors/mod.rs
expression: diff
---
[
Change {
path: "",
change: RequiredAdd {
property: "end_timestamp_precise",
},
},
Change {
path: "",
change: RequiredAdd {
property: "organization_id",
},
},
]
2 changes: 2 additions & 0 deletions rust_snuba/src/processors/spans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ mod tests {
parent_span_id: Option<String>,
profile_id: Option<Uuid>,
project_id: Option<u64>,
organization_id: Option<u64>,
received: Option<f64>,
retention_days: Option<u16>,
segment_id: Option<String>,
Expand All @@ -366,6 +367,7 @@ mod tests {
parent_span_id: Some("deadbeefdeadbeef".into()),
profile_id: Some(Uuid::new_v4()),
project_id: Some(1),
organization_id: Some(1),
retention_days: Some(90),
received: Some(1691105878.720),
segment_id: Some("deadbeefdeadbeef".into()),
Expand Down

0 comments on commit 142713a

Please sign in to comment.