Skip to content

Commit 4e83164

Browse files
committed
persist-client: remove ineffective track_caller annotations
`track_caller` has no effect on async functions currently.
1 parent f492f39 commit 4e83164

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/persist-client/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,6 @@ impl PersistClient {
580580

581581
/// Test helper for a [Self::open] call that is expected to succeed.
582582
#[cfg(test)]
583-
#[track_caller]
584583
pub async fn expect_open<K, V, T, D>(
585584
&self,
586585
shard_id: ShardId,

src/persist-client/src/read.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@ where
406406
/// reached. Because compaction can arbitrarily combine batches, we only
407407
/// return the final progress info.
408408
#[cfg(test)]
409-
#[track_caller]
410409
pub async fn read_until(
411410
&mut self,
412411
ts: &T,
@@ -870,7 +869,6 @@ where
870869

871870
/// Test helper for a [Self::listen] call that is expected to succeed.
872871
#[cfg(test)]
873-
#[track_caller]
874872
pub async fn expect_listen(self, as_of: T) -> Listen<K, V, T, D> {
875873
self.listen(Antichain::from_elem(as_of))
876874
.await
@@ -888,7 +886,6 @@ where
888886
/// Test helper to generate a [Self::snapshot] call that is expected to
889887
/// succeed, process its batches, and then return its data sorted.
890888
#[cfg(test)]
891-
#[track_caller]
892889
pub async fn expect_snapshot_and_fetch(
893890
&mut self,
894891
as_of: T,

src/persist-client/src/write.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,6 @@ where
636636

637637
/// Test helper for an [Self::append] call that is expected to succeed.
638638
#[cfg(test)]
639-
#[track_caller]
640639
pub async fn expect_append<L, U>(&mut self, updates: &[((K, V), T, D)], lower: L, new_upper: U)
641640
where
642641
L: Into<Antichain<T>>,
@@ -652,7 +651,6 @@ where
652651
/// Test helper for a [Self::compare_and_append] call that is expected to
653652
/// succeed.
654653
#[cfg(test)]
655-
#[track_caller]
656654
pub async fn expect_compare_and_append(
657655
&mut self,
658656
updates: &[((K, V), T, D)],
@@ -674,7 +672,6 @@ where
674672
/// Test helper for a [Self::compare_and_append_batch] call that is expected
675673
/// to succeed.
676674
#[cfg(test)]
677-
#[track_caller]
678675
pub async fn expect_compare_and_append_batch(
679676
&mut self,
680677
batches: &mut [&mut Batch<K, V, T, D>],
@@ -693,7 +690,6 @@ where
693690

694691
/// Test helper for an [Self::append] call that is expected to succeed.
695692
#[cfg(test)]
696-
#[track_caller]
697693
pub async fn expect_batch(
698694
&mut self,
699695
updates: &[((K, V), T, D)],

0 commit comments

Comments
 (0)