{
  "test": {
    "id": "tests/1.0/http/retry-504",
    "directory": "tests/1.0/http/retry-504",
    "manifestPath": "tests/1.0/http/retry-504/manifest.ttl",
    "scenarioPath": "tests/1.0/http/retry-504/scenario.yaml",
    "expectedPath": "tests/1.0/http/retry-504/expected/events.ndjson",
    "iri": "https://www.pieter.pm/ldes-client-conformance-test-suite/1.0#http-retry-504",
    "title": "504 Gateway Timeout is retried with back-off in unordered mode",
    "description": "The root node returns 504 Gateway Timeout twice before a valid representation. The client must retry rather than treat the status as terminal data loss, and every member must still be emitted. The request timeline asserts only that consecutive attempts are spaced, so any back-off strategy, retry count or jitter satisfies it.",
    "requirement": "LDES10-UNORD-044",
    "requirements": [
      "LDES10-UNORD-044"
    ],
    "requirementLevel": "Must",
    "group": "UnorderedTraversal",
    "requiredCapabilities": []
  },
  "outcome": "failed",
  "events": [
    {
      "protocolVersion": 0,
      "type": "error",
      "runId": "run-1",
      "kind": "client",
      "message": "Could not retrieve http://127.0.0.1:35691/root (HTTP status 504):\n",
      "receivedAt": "2026-10-16T10:18:59.597Z"
    }
  ],
  "requests": [
    {
      "sequence": 1,
      "method": "GET",
      "path": "/root",
      "headers": {
        "host": "127.0.0.1:35691",
        "connection": "keep-alive",
        "accept": "application/n-quads,application/trig;q=0.95,application/ld+json;q=0.9,application/n-triples;q=0.8,text/turtle;q=0.6,application/rdf+xml;q=0.5,text/n3;q=0.35,application/xml;q=0.3,image/svg+xml;q=0.3,text/xml;q=0.3,text/html;q=0.2,application/xhtml+xml;q=0.18,application/json;q=0.135,text/shaclc;q=0.1,text/shaclc-ext;q=0.05",
        "user-agent": "Comunica/5.0 (linux; x64) ActorHttpFetch/5.3.0 Node.js/22",
        "accept-encoding": "br,gzip,deflate",
        "accept-language": "*",
        "sec-fetch-mode": "cors"
      },
      "phase": "default",
      "status": 504,
      "timestamp": "2026-10-16T10:18:59.589Z",
      "completedAt": "2026-10-16T10:18:59.589Z"
    }
  ],
  "diagnostics": [
    "expected 2 observable events, got 1",
    "event 0: missing matching member in permitted member block",
    "request /root: expected count at least 2, got 1",
    "request /root: expected count at least 1, got 0",
    "request timing /root: expected at least 2 requests, got 1"
  ]
}
