Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
agola11 committed Oct 18, 2024
1 parent 0a7d49e commit 471e654
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/crates/langsmith_tracing_client/tests/test_run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fn test_run_create_with_timestamp() {
let run_create = RunCreate {
common: run_common,
name: String::from("Run Name"),
start_time: TimeValue::UnsignedInt(1697462400000), // Timestamp format (milliseconds since epoch)
start_time: TimeValue::UnsignedInt(1697462400000),
end_time: Some(TimeValue::UnsignedInt(1697466000000)),
outputs: serde_json::json!({"output_key": "output_value"}),
run_type: String::from("test_run_type"),
Expand All @@ -98,13 +98,13 @@ fn test_run_update() {
error: None,
serialized: serde_json::json!({"key": "value"}),
inputs: serde_json::json!({"input": "value"}),
events: serde_json::json!([]), // Assuming Vec<Event> will be implemented later
events: serde_json::json!([]),
tags: serde_json::json!({"tag": "value"}),
};

let run_update = RunUpdate {
common: run_common,
end_time: TimeValue::String("2024-10-16T14:00:00Z".to_string()), // String format
end_time: TimeValue::String("2024-10-16T14:00:00Z".to_string()),
outputs: Some(serde_json::json!({"output_key": "output_value"})),
};

Expand Down

0 comments on commit 471e654

Please sign in to comment.