diff --git a/internal/releaseadapter/v071/formal_ds01_negative_r38_test.go b/internal/releaseadapter/v071/formal_ds01_negative_r38_test.go index a4b8333..dd02d5e 100644 --- a/internal/releaseadapter/v071/formal_ds01_negative_r38_test.go +++ b/internal/releaseadapter/v071/formal_ds01_negative_r38_test.go @@ -368,6 +368,7 @@ WHERE index_name=$1 AND document_id='chunk-target'`, fx.index).Scan(&row); err ! if code != http.StatusAccepted { t.Fatalf("recover with a held dispatch boundary => %d %v", code, accepted) } + save("17n-recover-accepted.json", map[string]any{"http": code, "body": accepted, "window_job_id": job.ID}) queueID, _ := accepted["job"].(map[string]any)["id"].(string) if queueID == "" { t.Fatalf("recover response has no queue job: %v", accepted) @@ -490,6 +491,8 @@ WHERE index_name=$1 AND document_id='chunk-target'`, fx.index).Scan(&row); err ! if secondCode != http.StatusAccepted { t.Fatalf("second recover via the normal API => %d %v", secondCode, secondAccepted) } + save("17n2-second-recover-accepted.json", map[string]any{"http": secondCode, "body": secondAccepted, + "window_job_id": job.ID}) secondQueue, _ := secondAccepted["job"].(map[string]any)["id"].(string) if secondQueue != governance.LibraryRecoveryQueueID(job.ID) { t.Fatalf("second recover queue id = %q, want the window's own %q", secondQueue,