diff --git a/scripts/test_component_resolution_ttl.sh b/scripts/test_component_resolution_ttl.sh index bbc47c8..0e2329e 100755 --- a/scripts/test_component_resolution_ttl.sh +++ b/scripts/test_component_resolution_ttl.sh @@ -71,7 +71,7 @@ collect_missing_workers() { sleep 0.1 continue fi - if [[ "$status" != "200" || "$body" != parent:* || "$body" != *"component not found: later"* ]]; then + if [[ "$status" != "500" || "$body" != parent:* || "$body" != *"component not found: later"* ]]; then echo "missing component TTL probe failed: status=$status body=$body" >&2 exit 1 fi