gabotechs commented on code in PR #124:
URL:
https://github.com/apache/datafusion-iceberg/pull/124#discussion_r4770619395
##########
crates/test-tools/src/storage.rs:
##########
@@ -62,6 +78,10 @@ impl StorageFactory for ReadCountingStorageFactory {
struct ReadCountingStorage {
#[serde(skip)]
reads: Arc<AtomicUsize>,
+ #[serde(skip)]
+ paused: Arc<AtomicBool>,
+ #[serde(skip)]
+ read_started: Arc<Mutex<Option<oneshot::Sender<usize>>>>,
Review Comment:
This `ReadCountingStorageFactory` no longer just counts reads, it's starting
to get some behavior out of scope of it's original design and probably a bit
too synthetic to be representative of a good integration test...
Not a blocking comment though, this can be addressed in a follow up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]