Merge pull request #5626 from martin-g/faster-batches-it-tests

tests: Faster batches:: IT tests
This commit is contained in:
Tamo
2025-07-16 07:01:16 +00:00
committed by GitHub
2 changed files with 280 additions and 225 deletions

File diff suppressed because it is too large Load Diff

View File

@ -38,6 +38,15 @@ impl Value {
self["uid"].as_u64().is_some() || self["taskUid"].as_u64().is_some()
}
#[track_caller]
pub fn batch_uid(&self) -> u32 {
if let Some(batch_uid) = self["batchUid"].as_u64() {
batch_uid as u32
} else {
panic!("Didn't find `batchUid` in: {self}");
}
}
/// Return `true` if the `status` field is set to `succeeded`.
/// Panic if the `status` field doesn't exists.
#[track_caller]