Implement crash-safe streaming worker runtime
This commit is contained in:
parent
16cba3c317
commit
cdeef3cc1a
1 changed files with 7448 additions and 194 deletions
|
|
@ -94,6 +94,21 @@ fn restart_only_identity_cannot_form_checkpoint() {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn literal_null_version_remains_addressable() {
|
||||
let identity = ObjectSourceIdentity::from_parts(
|
||||
CanonicalUrl::parse("https://objects.example.test").expect("endpoint"),
|
||||
"source-bucket",
|
||||
"key.bin",
|
||||
10,
|
||||
Some("null".into()),
|
||||
None,
|
||||
)
|
||||
.expect("identity");
|
||||
assert_eq!(identity.version_id(), Some("null"));
|
||||
assert!(identity.is_resumable());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn validation_and_debug_surfaces_hide_keys_and_credentials() {
|
||||
let config = ObjectSourceConfig::new(
|
||||
|
|
|
|||
Loading…
Reference in a new issue