live wire
▸SECURITY · Red Hat’s hardened Valkey 9.0.8 image fixes CVE-2026-96231Red Hat Product Errata▸PLATFORM · Red Hat restores Lightspeed playbook execution after a production outageRed Hat Status▸AI · Quarkus LangChain4j tests eight ways to shrink agent prompts without deleting chat historyQuarkus Blog▸FIELD BUILDS · MemoryHub merges separate user and admin dashboard views backed by shared access policyRed Hat AI Americas / MemoryHub▸PLATFORM · OpenShift 4.22 lab upgrade with 10,000 active VMs took about 11 hoursRed Hat Developer▸PLATFORM · Red Hat tests OpenShift live migration across 10,000 VMs in 40 namespacesRed Hat Developer▸PLATFORM · Troshka restores OpenShift workshop labs from reusable snapshots on AWSIBM & Red Hat on AWS▸CLUSTER MGMT · Red Hat multicluster engine 5.0.1 fixes ClusterClaim labels being overwrittenRed Hat Product Errata▸AI · NeMo Guardrails 0.25.0 adds tool-call checks and an experimental model API gateway (Nov. 19)NVIDIA NeMo Guardrails▸AI · Red Hat posts an EAGLE-3 speculator modelcar for Gemma 4 26B A4B ITRed Hat Product Errata▸SECURITY · OpenShift GitOps 1.21.9 fixes Argo CD stripping unmanaged labels after an upgrade to 1.21Red Hat Product Errata▸PLATFORM · Cummins uses Backstage and Ansible on AWS to automate approved temporary Linux root accessRed Hat Blog▸AI · Red Hat details how IdeaBot traces agent calls and avoids double-counting tokens with MLflow (Nov. 24)Red Hat Emerging Technologies▸AI · IBM releases Granite models for document conversion, visual extraction and page retrievalIBM Research▸SECURITY · Red Hat’s hardened Valkey 9.0.8 image fixes CVE-2026-96231Red Hat Product Errata▸PLATFORM · Red Hat restores Lightspeed playbook execution after a production outageRed Hat Status▸AI · Quarkus LangChain4j tests eight ways to shrink agent prompts without deleting chat historyQuarkus Blog▸FIELD BUILDS · MemoryHub merges separate user and admin dashboard views backed by shared access policyRed Hat AI Americas / MemoryHub▸PLATFORM · OpenShift 4.22 lab upgrade with 10,000 active VMs took about 11 hoursRed Hat Developer▸PLATFORM · Red Hat tests OpenShift live migration across 10,000 VMs in 40 namespacesRed Hat Developer▸PLATFORM · Troshka restores OpenShift workshop labs from reusable snapshots on AWSIBM & Red Hat on AWS▸CLUSTER MGMT · Red Hat multicluster engine 5.0.1 fixes ClusterClaim labels being overwrittenRed Hat Product Errata▸AI · NeMo Guardrails 0.25.0 adds tool-call checks and an experimental model API gateway (Nov. 19)NVIDIA NeMo Guardrails▸AI · Red Hat posts an EAGLE-3 speculator modelcar for Gemma 4 26B A4B ITRed Hat Product Errata▸SECURITY · OpenShift GitOps 1.21.9 fixes Argo CD stripping unmanaged labels after an upgrade to 1.21Red Hat Product Errata▸PLATFORM · Cummins uses Backstage and Ansible on AWS to automate approved temporary Linux root accessRed Hat Blog▸AI · Red Hat details how IdeaBot traces agent calls and avoids double-counting tokens with MLflow (Nov. 24)Red Hat Emerging Technologies▸AI · IBM releases Granite models for document conversion, visual extraction and page retrievalIBM Research
upstreambeat.ai
newsJAVA

Quarkus adds in-process fault injection for application resiliency tests

The Quarkiverse extension routes real clients through test-JVM proxies so teams can check timeouts, retries, idempotency and recovery without a separate fault-injection sidecar.

Quarkus test proxy toggles dependency behavior from normal relay to injected failures.
Side by side: what changed
By The News Desk· Nov 16, 2026the quick take — two AI hosts go live when you do

Quarkus developers have introduced a fault-injection extension designed to test how applications behave when their dependencies fail in specific, repeatable ways. The Quarkus Resiliency Testing announcement says version 0.6.0 can redirect supported outbound connections through proxies running inside the test JVM, allowing an application’s actual clients, connection settings and resilience policies to encounter the injected fault.

Testing the failure path, not a mock

The extension works with @QuarkusTest and a NetworkFaultsProfile that discovers supported outbound connections from Quarkus configuration, including connections supplied by Dev Services. Tests can then make a dependency hang, terminate a connection during a request or become temporarily unreachable. The proxy normally relays traffic; when a fault is active, the application’s real client handles the resulting timeout, retry or exception.

That distinction matters because a mock that throws an exception does not verify whether the configured client ever reaches the fallback. The announcement’s order-processing sample exercises a hung inventory service against MicroProfile Fault Tolerance timeouts, circuit breakers, bulkheads and fallbacks. It also checks recovery after the fault ends, when connection pools are flushed and circuit breakers reset.

Idempotency, databases and Kafka

The sample goes beyond simple connection failures. In its payment scenario, the provider records a charge but the response connection fails after the headers are sent. A retry uses the same idempotency key, and the test checks both that two attempts occurred and that the customer was charged only once.

Database examples cover queries that never return, exhausted connection pools, dead pooled connections after a restart and connections lost during a write. The article notes that PostgreSQL’s JDBC driver waits indefinitely for a response by default, so the sample configures a socket timeout and verifies that the application returns a bounded 503 response instead of tying up a worker and pooled connection.

A Kafka scenario checks that a failed event publication rolls back the order transaction when the application waits for broker acknowledgement. The authors also spell out the remaining consistency gap: a database transaction does not make Kafka and the database one transaction, and applications that must accept orders during a broker outage need a design such as a transactional outbox.

Scope and limits

The extension can also simulate disk-full errors without filling the disk, make DNS resolution fail and exhaust supported resource pools. It fails a test if no connection passes through the selected target while a fault is active, reducing the risk of a test that points at the wrong dependency but still produces the expected response.

A Dev UI integration lets developers apply faults interactively before turning the observation into a regression test. The project also exposes opt-in Dev MCP tools and guidance for AI-assisted test writing.

The current extension requires Quarkus 4 and Java 21. Its HTTP-level faults are limited to plaintext HTTP/1.x, connectTimeout() is Linux-only, and @QuarkusIntegrationTest is not yet supported. Those boundaries make this an application-test tool rather than a general chaos platform, but its in-process design gives Quarkus teams a direct way to verify the failure behavior encoded in their clients and application policies.

Filed by The News Desk. Corrections: desk@upstreambeat.ai · Our standards →

comments · 0

    Comments are moderated before they appear. Your email is used once to confirm it is you — never shown, never sold. Corrections and questions get an answer from the desk when we have one.