Skip to content

Commit 213bd8c

Browse files
committed
fix(tests): add missing env_updated_at field in PinnedExecuteRequest
1 parent 45f6059 commit 213bd8c

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

tests/pinned_pool_test.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ async fn test_pinned_simple_response() {
6565
ops,
6666
task,
6767
on_warm_hit: None,
68+
env_updated_at: None,
6869
})
6970
.await;
7071
assert!(
@@ -118,6 +119,7 @@ async fn test_pinned_html_response() {
118119
ops,
119120
task,
120121
on_warm_hit: None,
122+
env_updated_at: None,
121123
})
122124
.await;
123125
assert!(
@@ -169,6 +171,7 @@ async fn test_pinned_json_response() {
169171
ops,
170172
task,
171173
on_warm_hit: None,
174+
env_updated_at: None,
172175
})
173176
.await;
174177
assert!(
@@ -226,6 +229,7 @@ async fn test_pinned_global_default_fetch() {
226229
ops,
227230
task,
228231
on_warm_hit: None,
232+
env_updated_at: None,
229233
})
230234
.await;
231235
assert!(
@@ -286,6 +290,7 @@ async fn test_pinned_global_default_async_fetch() {
286290
ops,
287291
task,
288292
on_warm_hit: None,
293+
env_updated_at: None,
289294
})
290295
.await;
291296
assert!(
@@ -368,6 +373,7 @@ async fn test_buffered_response_body_not_empty_production_scenario() {
368373
ops,
369374
task,
370375
on_warm_hit: None,
376+
env_updated_at: None,
371377
}))
372378
.await
373379
// LocalSet DROPPED here! Any spawn_local tasks are aborted!
@@ -440,6 +446,7 @@ async fn test_json_response_body_not_empty_production_scenario() {
440446
ops,
441447
task,
442448
on_warm_hit: None,
449+
env_updated_at: None,
443450
}))
444451
.await
445452
};
@@ -519,6 +526,7 @@ async fn test_streaming_response_with_localset_alive() {
519526
ops,
520527
task,
521528
on_warm_hit: None,
529+
env_updated_at: None,
522530
})
523531
.await;
524532
assert!(

tests/warm_reuse_test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ async fn pinned_fetch(worker_id: &str, version: i32, script: Script) -> (u16, St
6868
ops,
6969
task,
7070
on_warm_hit: None,
71+
env_updated_at: None,
7172
})
7273
.await;
7374

@@ -476,6 +477,7 @@ async fn pinned_fetch_with_ops(
476477
ops,
477478
task,
478479
on_warm_hit: None,
480+
env_updated_at: None,
479481
})
480482
.await;
481483

0 commit comments

Comments
 (0)