Advanced Software Testing & QA
Q90 / 100

What challenges arise when testing systems built on "eventual consistency" (e.g. distributed databases), and how do testers typically address them?

Correct! Well done.

Incorrect.

The correct answer is A) Assertions made immediately after a write may fail because the read may not yet reflect that write across all nodes; tests often need retry/poll logic with timeouts or to explicitly wait for consistency before asserting

A

Correct Answer

Assertions made immediately after a write may fail because the read may not yet reflect that write across all nodes; tests often need retry/poll logic with timeouts or to explicitly wait for consistency before asserting

Explanation

Tests against eventually consistent systems must account for propagation delay, often using polling with timeouts or test-specific synchronization hooks to avoid flaky failures.

Progress
90/100