Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions sdk/src/identity/tests/claim_aggregation/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -736,10 +736,11 @@ async fn unsupported_did_method() {
assert!(log_items.next().is_none());
}

// TO DO (CAI-7996): Not sure why this doesn't run on Wasm/WASI.
#[cfg(not(target_arch = "wasm32"))]
#[tokio::test]
#[ignore] // (CAI-9157) This is timing out every time it runs. See https://github.com/contentauth/c2pa-rs/issues/1277
#[cfg_attr(not(target_arch = "wasm32"), tokio::test)]
#[cfg_attr(
all(target_arch = "wasm32", not(target_os = "wasi")),
wasm_bindgen_test
)]
async fn unresolvable_did() {
// If the DID can not be resolved, the validator MUST issue the failure code
// `cawg.ica.did_unavailable` but MAY continue validation.
Expand Down Expand Up @@ -791,7 +792,7 @@ async fn unresolvable_did() {
.err_val
.as_ref()
.unwrap(),
"SignatureError(DidResolutionError(\"the document was not found: https://example.com/.well-known/did.json\"))");
"SignatureError(DidResolutionError(\"the document was not found: https://cawg-test-data.github.io/test-case/unresolvable-did/did.json\"))");

assert_eq!(
li.validation_status.as_ref().unwrap(),
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.