Skip to content

fix(#6260): a wall-clock bound measures the code, not the JVM's stop-the-world pauses - #6268

Merged
lvca merged 5 commits into
mainfrom
issue-6260
Aug 17, 2026
Merged

lvca merged 5 commits into
mainfrom
issue-6260

Conversation

@lvca

@lvca lvca commented Aug 16, 2026

Copy link
Copy Markdown
Member

Fixes #6260.

The problem

Two engine tests went red in a full-suite run while the code behaved correctly:

test bounded by measured
AsyncShutdownDrainTest.closeDoesNotHangOnAWedgedAsyncWorker a ~1 s ASYNC_CLOSE_TIMEOUT plus a 2 s join 27,396 ms
Issue6199DrainWakeupTest.theResidualDrainKeepsItsHardDeadline a 200 ms deadline 24,143 ms

Both pass in isolation. Late in a 12,000-test single-JVM run a stop-the-world pause of tens of seconds is not exotic, and any assertion whose headroom is smaller than that becomes a coin flip on the JVM's mood rather than a statement about the code.

Why the issue's own proposal is not enough, and what this does instead

The issue proposes reclassifying each bound and widening the ones that are only tripwires. That is right as far as it goes, but it cannot cover the set. grep turns up 40 elapsed-time assertions in the engine suite, and a large family of them reads:

// 10 independent 200ms-per-row budgets would take >= 2000ms; a shared deadline keeps the whole
// evaluation close to the single configured 200ms bound instead.
assertThat(elapsedMillis).isLessThan(1000);

That 1000 cannot be widened. It is discriminating one shared 200 ms deadline from ten independent per-row ones, so the moment it goes past 2000 the assertion stops asserting anything. Widening it is not a repair, it is a deletion. And the same stall that broke the two named tests breaks these too - it is simply luckier so far.

So instead of adjusting the numbers, this fixes the measurement. A daemon sampler parks for 10 ms at a time and accumulates, into a monotonic counter, however much longer than that each park actually took. The difference of two readings is the JVM-wide stall observed inside that interval; subtracting it from a wall-clock measurement over the same interval leaves the time the JVM was actually running. Every bound stays exactly as tight as it was, and none of them can be tripped by a pause.

final StallAwareStopwatch stopwatch = StallAwareStopwatch.start();
assertThatThrownBy(...).isInstanceOf(TimeoutException.class);
stopwatch.assertStayedUnder(1000, "one 200ms budget shared by the whole evaluation, not one per row");

What is deliberately not discounted: time the measured thread spends sleeping, parked or blocked on I/O. The sampler keeps ticking then, so a test that waits a second is still charged a second - only a stall that also stops the sampler is taken out. Otherwise every latch wait in the suite would silently become unbounded. The sampler also runs at the default thread priority on purpose: it is a proxy for the measured thread, so it has to lose the same races for a core. Raising it would let it tick straight through the CPU starvation the measured thread is suffering, and starvation is the half of the problem a GC-pause-only view cannot see.

The two assertions, and why there are two

They differ only in the failure message, and that is the point - the message is what stops the next person from "fixing" a red run by loosening the number:

  • assertGaveUpWithin(bound, whatItSeparates) - the bound is a tripwire between a bounded operation and an unbounded one. Generous is free here; a wider bound cannot turn a passing run red. Failure says so explicitly.
  • assertStayedUnder(bound, claim) - the bound IS the assertion, standing in for a complexity claim with no other practical expression (a regex that must not backtrack exponentially, a deadline shared across rows rather than charged per row). Failure says loosening it deletes the test.

A short wait expected to TIME OUT needs neither, and neither does a lower bound: a stall only makes those more true.

Scope

40 assertions across 26 test classes converted. Per the taxonomy above:

  • Left alone - the isGreaterThanOrEqualTo sites in SQLScriptAdditionalCoverageTest, CodeUtilsTest, PaginatedSparseVectorEngineBackpressureTest, Issue5693TxRetryDelayScopeTest.
  • Split - the two isBetween sites (FlushRobustnessTest, Issue6125SnapshotBarrierAndCapTest) now read raw wall clock for the floor (which proves the wait really blocked) and the discounted time for the ceiling.
  • Sampled per gap - Issue5587TxRetryExponentialBackoffTest compares the sum of early retry gaps against the sum of late ones. A pause landing in either half skews the ratio, so it now samples the stall counter alongside each timestamp and differences both.
  • @Timeout raised - three annotations at 30 s on tests whose own budget is already 16 s or more. JUnit's timeout is plain wall clock and cannot be discounted, so it has to be sized as a hang detector, not as a latency bound.

CLAUDE.md gains the rule so new tests do not reintroduce the pattern.

Verification

  • StallAwareStopwatchTest reproduces the reported failure directly: with a 24 s stall injected into the window, a measurement that failed a 15 s bound pre-fix now passes, while an equally slow operation with no stall to hide behind still fails - the fix must not have deleted the tests it was meant to save. The stall is injected rather than provoked because provoking a multi-second stop-the-world pause on demand is exactly as unreliable as the flake being fixed.
  • Full engine suite: 12,093 tests, 0 failures, 0 errors (mvn -o -pl engine -am test -DexcludedGroups=benchmark,vector,slow), plus the slow and vector lanes for the touched classes.

Files

New (engine test sources):

  • engine/src/test/java/com/arcadedb/utility/JvmStallMonitor.java
  • engine/src/test/java/com/arcadedb/utility/StallAwareStopwatch.java
  • engine/src/test/java/com/arcadedb/utility/StallAwareStopwatchTest.java

The helper lives in the engine test-jar, so the server and protocol modules can adopt it for their own timing assertions in a follow-up.

🤖 Generated with Claude Code

https://claude.ai/code/session_016yjKJXMNMQeLPKdCno7cFX

…the-world pauses (#6260)

Two engine tests went red in a full-suite run while behaving correctly:
AsyncShutdownDrainTest.closeDoesNotHangOnAWedgedAsyncWorker measured 27,396ms
for a close() bounded by a 1s timeout plus a 2s join, and
Issue6199DrainWakeupTest.theResidualDrainKeepsItsHardDeadline measured 24,143ms
for a wait bounded by 200ms. Late in a 12,000-test single-JVM run a
stop-the-world pause of tens of seconds is not exotic, and any bound with less
headroom than that is a coin flip on the JVM's mood.

Widening the numbers was not available as a fix. Several of these bounds are
discriminating a single shared 200ms deadline from ten independent per-row ones,
so they have to stay below 2s to mean anything at all; widening them deletes the
assertion. Instead the measurement itself is corrected: a daemon sampler parks
for 10ms at a time and accumulates however much longer each park actually took,
so the difference of two readings is the JVM-wide stall inside that interval.
Subtracting it leaves the time the JVM was actually running, which keeps every
bound exactly as tight as it was and immune to the pause.

Deliberately not discounted: time the measured thread spends sleeping, parked or
blocked. The sampler keeps ticking then, so a test that waits a second is still
charged a second - only a stall that also stops the sampler is taken out. The
sampler runs at default priority on purpose, so it suffers the same CPU
starvation the measured thread does; that half of the problem is invisible to a
GC-pause-only view.

The two assertion methods differ only in their failure message, and that is the
point: the message has to say what the number is for, so the next person to see
it go red knows whether loosening it is a repair or a cover-up.

- assertGaveUpWithin - the bound is a tripwire between a bounded operation and
  an unbounded one. Generous is free; a wider bound cannot turn a passing run red
- assertStayedUnder - the bound IS the assertion, standing in for a complexity
  claim with no other practical expression. Loosening it deletes the test

Applied across the engine suite: 40 elapsed-time assertions in 26 test classes.
Lower bounds (isGreaterThan) and short waits expected to time out are left alone
- a stall only makes those more true - and the two isBetween sites are split so
the floor keeps reading raw wall clock while only the ceiling is discounted.
Issue5587's gap-ratio comparison samples the stall counter alongside each
timestamp, so a pause landing in one half cannot skew it.

Three @timeout(30) annotations on tests whose own budget is already 16s or more
are raised to 120s: JUnit's timeout is plain wall clock and cannot be discounted,
so it has to be sized as a hang detector rather than as a latency bound.
@lvca lvca self-assigned this Aug 16, 2026
@mergify

mergify Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@codacy-production

codacy-production Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · -6.56% coverage variation

Metric Results
Coverage variation ✅ -6.56% coverage variation
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (4359848) 158758 125225 78.88%
Head commit (70eb144) 191111 (+32353) 138200 (+12975) 72.31% (-6.56%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#6268) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@claude

claude Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review: PR #6268, StallAwareStopwatch for flaky wall-clock test bounds.

Nice piece of engineering. The problem statement (a 24 to 30 second stop-the-world pause tripping sub-15s bounds late in a 12k-test single-JVM run) is well diagnosed, and the fix addresses the actual measurement rather than just widening numbers, which the PR correctly argues would silently delete several of the assertStayedUnder-style complexity assertions (for example, one shared 200ms deadline vs ten independent ones cannot tolerate a 2s bound).

Scope check: every changed file is under */src/test/java plus the CLAUDE.md doc addition, so no production code is touched and there is no runtime performance, GC, or security surface here. No new dependencies.

Design (JvmStallMonitor / StallAwareStopwatch):

  • The daemon sampler plus monotonic-counter-difference approach is correct and lock-free (single writer via AtomicLong.addAndGet; the holder-idiom lazy start is safe under the JLS class-init guarantee).
  • Deliberately not discounting sleep, park, or blocked time on the measured thread, and deliberately running the sampler at default priority so it shares the same starvation as the measured thread, are both well reasoned and explained in comments. That matters because both are exactly the kind of thing a future maintainer might "fix" incorrectly.
  • check() reads elapsedMs() then stallMs() as two separate, non-atomic snapshots. Worth noting for the record: since stallMs() is always sampled after elapsedMs(), the stall window can only be greater than or equal to the elapsed window, so this can only ever make the discount more generous, never cause a spurious failure. Benign, but a one-line comment near check() would save the next reader from working that out themselves.
  • stallNanosForGap requires a gap greater than TICK_NANOS plus TOLERANCE_NANOS (20ms) before anything is discounted. That is a reasonable anti-jitter floor, but it means the tightest bound in the set, PaginatedSparseVectorEngineBackpressureTest 50ms assertStayedUnder, still has about 20ms of pure scheduling jitter baked in with no discount available below that threshold. Probably fine given it is the outlier, but if that one is still occasionally flaky post-merge, this tolerance is the first place to look.

Inherent tradeoff worth flagging (not a bug, just calling it out for the record):
Because the monitor cannot distinguish a GC stop-the-world pause from this thread own CPU-bound work being real while the box is oversubscribed, a genuine complexity regression in an assertStayedUnder test (the ones standing in for no exponential backtracking, or a shared deadline instead of one per row) could in principle get partly masked if it lands on a heavily loaded CI runner where other concurrent tests are stealing cycles from the sampler too. The PR own StallAwareStopwatchTest.aGenuinelySlowOperationStillFails proves the non-stalled case still fails correctly, which is the right regression test to have, but it does not (and probably cannot cheaply) cover a genuinely slower operation landing right on the boundary of a concurrently loaded machine. Not asking for a fix here, just noting it as the one scenario where this design sensitivity is intentionally reduced.

Test coverage:
StallAwareStopwatchTest is a strong regression test for the reported bug: it injects the exact observed 24s stall via a fake LongSupplier (correctly avoiding the flakiness of trying to provoke a real 24s STW pause on demand), reproduces the pre-fix failure, shows the fix passes, and separately proves a genuinely slow operation with no stall to hide behind still fails. That last one is the important negative test and it is present. It also covers the tolerance-window boundary math and the clamp-to-zero case for a stall wider than the window. Good.

Nits:

  • The assertGaveUpWithin vs assertStayedUnder categorization across the 40 call sites looks correct everywhere spot-checked, but a couple, for example OpenCypherMatchEnhancementsTest ID-filter-should-be-fast cases and OpenCypherOptionalMatchTest Cartesian-explosion case, read like they could plausibly go either way. Worth a second pass by whoever owns those tests to confirm the failure-message framing matches intent, since that framing is the whole point of having two methods.
  • JvmStallMonitor.Sampler.sample() loops forever with no interrupt or shutdown path. Fine for a daemon thread that lives for the JVM lifetime, just flagging in case a future change wants a clean-shutdown story, for example if this gets reused in a longer-lived process rather than a test JVM.

Overall: solid fix, correctly scoped to test code, with good self-testing. No blocking issues found.

…oor is, and why check() reads in that order

Review follow-ups, all documentation - no behaviour change.

- check() takes two non-atomic snapshots, and the order is load-bearing: sampling
  the stall AFTER the elapsed time means the stall window can only be wider than
  the elapsed one, so the discount can only come out too generous. Read the other
  way round it could come out too small and fail a run that was fine.
- The sampler is a daemon with no stop path on purpose, because a test JVM's life
  is the whole window anyone can measure. Said so, so anything longer-lived that
  wants to reuse it knows it needs a shutdown story first.
- The sensitivity the design trades away, written down rather than left to be
  rediscovered: the monitor cannot tell a stall from the measured thread's own
  work being slow on an oversubscribed box, so on a loaded runner a genuine
  regression can be discounted along with the noise. That is the deliberate
  trade, and it is why assertStayedUnder bounds want an order of magnitude of
  headroom rather than being tuned down to whatever currently passes.
- Nothing below tick + tolerance is ever discounted, so a bound tighter than
  ~20ms gets no help. Only PaginatedSparseVectorEngineBackpressureTest (50ms) is
  anywhere near that floor; noted it as the first place to look if it flakes, and
  what lowering the tolerance would cost every other measurement.
@claude

claude Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review

This is a well-designed fix for genuine flaky-test infrastructure: a daemon sampler (JvmStallMonitor) accumulates JVM-wide stall time (stop-the-world pauses and CPU starvation) in 10ms ticks, and StallAwareStopwatch subtracts that from wall-clock measurements so timing assertions stay tight without being tripped by a shared-JVM pause late in a 12,000-test run. The two-method API (assertGaveUpWithin for tripwires vs. assertStayedUnder for bound-is-the-assertion cases) is a nice piece of design: the choice of method documents why the bound exists, which is exactly what stops a future contributor from "fixing" a red run by blindly widening it.

Correctness

  • The sampling/discount math checks out: stallNanosForGap only charges gap - TICK_NANOS - TOLERANCE_NANOS, so routine parkNanos overshoot isn't charged as stall, and only genuine multi-tick pauses are discounted.
  • check() deliberately reads elapsedMs() before stallMs(), so the discount can only come out too generous, never too small — a subtle but correct choice that avoids a race turning a passing run red.
  • Clamping (Math.max(0L, ...)) correctly handles a stall larger than the measured window, and the format-string/arg counts in check()'s .as(...) line up correctly (easy thing to get wrong with 5 positional args).
  • StallAwareStopwatchTest covers the interesting edges well: the reproduction of the actual 24s/27s stalls from the issue, a genuinely-slow op still failing (proving the fix doesn't just delete the tests), clamping to zero, sleep not being discounted, and the tolerance boundary.

One gap worth flagging

Issue6199DrainWakeupTest.theResidualDrainKeepsItsHardDeadline is one of the two motivating failures named explicitly in the PR description (24,143ms measured against a 200ms deadline), but that file isn't touched by this PR — it isn't in the changed-files list. Looking at main, it was already patched in an earlier commit by just widening the bound to a flat TimeUnit.MINUTES.toMillis(1) tripwire with a comment referencing #6260. That's exactly the "widening is not a repair" pattern this PR's own description argues against for the general case, and it means one of the two named repro cases isn't actually migrated to the new mechanism this PR introduces. Not a functional bug (the 1-minute bound is generous enough to pass), but it's an inconsistency — worth either converting that assertion to StallAwareStopwatch.assertGaveUpWithin for consistency, or a short note in the PR description on why it was intentionally left alone.

Style/consistency

Across the ~30 call sites, the choice between assertGaveUpWithin and assertStayedUnder is applied consistently with the documented rule (tripwire vs. complexity-claim bound), including the trickier hybrid cases like FlushRobustnessTest and Issue6125SnapshotBarrierAndCapTest, which correctly keep a raw isGreaterThanOrEqualTo floor (since a stall only makes "at least this long" more true, there's nothing to discount there) alongside the stall-aware ceiling.

Performance / security

Test-only code under src/test/java, no production path touched. The sampler thread is a daemon, started lazily on first use, and runs at default priority by design (so it experiences the same scheduling starvation as the measured thread — nice touch, and explicitly justified in the class Javadoc). No shutdown path, but that's fine and documented for a test-JVM-lifetime singleton. No security surface here.

Test coverage

Good — the new StallAwareStopwatchTest and the JvmStallMonitor unit-level assertions (stallNanosForGap, tolerance boundary, monotonicity, sampler-thread-name check) give confidence in the discount mechanism itself, independent of the ~30 call-site migrations, which is the right way to validate a piece of shared test infrastructure like this.

Overall: solid fix, addresses a real problem with a principled mechanism rather than a blanket widen, and the CLAUDE.md addition captures the decision rule well for future contributors. The Issue6199DrainWakeupTest gap above is the only thing I'd want resolved (or explained) before merging.

…-name grep never saw

Issue6199DrainWakeupTest.theResidualDrainKeepsItsHardDeadline is one of the two
failures #6260 was filed on, and it was the one site still carrying the fix this
PR argues against: #6223 had widened its bound to a flat 1 minute to survive the
pause. That is fine as far as it goes - a tripwire has room to be widened - but
leaving it there means the motivating repro is not actually running through the
mechanism built to handle it. It now discounts the stall like everything else,
which lets the tripwire come back down from 60s to 5s: still far above the honest
~200ms, still far below the forever an unbounded wait takes.

Finding it exposed a hole in how the other 40 were located. The original sweep
matched `assertThat(elapsed...)`, so every site that asserts on the expression
inline, or names the variable something else, was invisible to it. Re-swept on
`System.currentTimeMillis() - <anything>` instead, which turns up three more
real bounds among the benchmarks and printlns:

- AsyncWedgedWorkerStallTest - the backstop fires on the configured no-progress
  bound rather than waiting out the wedge. A tripwire
- Issue6200PerDatabaseDeferredBacklogTest - a database that is not suspended
  returns at once instead of waiting on another database's over-cap backlog. The
  bound IS the assertion: it is the whole difference between per-database and
  global backlog accounting
- WithAndUnwindTest - ~200 comparisons per UNWIND row with the predicate
  pushdown, not 200*200 without it

Left alone, as before: lower bounds (SQLScriptTest, SleepStatementExecutionTest,
CodeUtilsTest), which a stall only makes more true, and the @tag("benchmark")
classes, which are not in a CI lane.
@claude

claude Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review of #6268

Overall this is a well-engineered fix for a real problem (flaky wall-clock assertions in a shared-JVM, 12k-test run), and the PR description does an unusually good job of explaining the design rationale up front. Notes below after reading through JvmStallMonitor, StallAwareStopwatch, StallAwareStopwatchTest, and a sample of the 30+ converted call sites.

Design / code quality

  • The split between assertGaveUpWithin (tripwire) and assertStayedUnder (the bound is the claim) is a genuinely useful distinction, and putting the rationale into the failure message ("loosening it deletes the test" / "widening it is safe, narrowing it is what would break") is a nice touch that should stop future regressions from being "fixed" by just bumping the number.
  • JvmStallMonitor's lazy-start-on-first-use plus permanently-running daemon thread is a reasonable trade for test-only code, and it's clearly documented as such (no shutdown path, JVM-lifetime scope).
  • Running the sampler at default thread priority (not elevated) is a subtle, correct choice worth calling out as a good decision - an elevated-priority sampler would blind the monitor to exactly the CPU-starvation half of the problem it's meant to catch.
  • StallAwareStopwatchTest is solid: it exercises the reported failure directly (24s injected stall no longer trips a 15s bound), confirms a genuinely slow operation still fails (so the fix can't silently swallow future regressions), checks clamping when the stall exceeds the window, and confirms plain Thread.sleep is not discounted.

Worth a second look (not blocking, just flagging)

  1. StallAwareStopwatch.check() read ordering (StallAwareStopwatch.java, the check method): elapsedMs() is sampled, then stallMs() is sampled afterward against a later stall-counter reading. This is called out in the second commit's message/Javadoc as deliberate ("the discount can only come out too generous"), but it's worth being explicit for reviewers: this biases the mechanism toward false negatives, not false positives - a stall landing between the two reads can shrink effectiveMs further than the true in-window stall would justify, which could in theory mask a real regression on a heavily loaded box. That's an accepted, documented trade - just flagging it as the one place where "immune to flaking" and "sensitive to regressions" are in tension.
  2. LSMVectorIndexRebuildTest.java ("Search should not block on async rebuild") was converted to assertGaveUpWithin, but per the PR's own taxonomy this reads more like an assertStayedUnder case - the 5000ms bound isn't really discriminating a bounded op from an unbounded one, it's asserting the search stays fast/non-blocking, closer to a complexity/behavior claim. Minor, either reading is defensible, but slightly inconsistent with how similar "must not block on background work" assertions elsewhere in the diff are categorized.
  3. Issue5587TxRetryExponentialBackoffTest.java: failureTimestampsNanos.add(...) and failureStallNanos.add(StallAwareStopwatch.jvmStallNanos()) are two separate, non-atomic reads inside the same callback. In practice the gap is nanoseconds and irrelevant next to the 10ms sampler tick, so not a real bug - just noting it's not perfectly atomic in case a much tighter bound is added here later.
  4. Scope is explicitly engine-only for now (per the PR body, server/protocol modules still have their own raw wall-clock assertions to migrate later). Worth confirming there's a tracking issue for that follow-up so it doesn't get lost, since the same flake mode presumably applies there too.

Verification

I wasn't able to run mvn in this review environment, so this is a static read of the diff rather than a build/test confirmation on my end. The PR description states the full engine suite (12,093 tests) plus the slow/vector lanes for touched classes pass locally - given the size of the mechanical conversion across ~30 files, I'd still lean on CI to confirm a clean compile (no leftover unused System.currentTimeMillis()/System.nanoTime() locals or now-dead imports) before merge.

Test coverage

Good - the new utility has direct unit coverage, and the fix is validated against the exact reported failure mode (injected 24s stall) rather than only via the much less reliable real stop-the-world repro. The CLAUDE.md addition documenting the pattern for future tests is a nice piece of process hygiene.

Nice work overall - the reasoning for why widening bounds wasn't an acceptable fix (the shared-deadline-vs-per-row-budget tests) is the right call, and fixing the measurement instead of the numbers is the correct level to solve this at.

…pwire

Review point, and it is right: LSMVectorIndexRebuildTest's "search must not
block on the async rebuild" was the one assertGaveUpWithin in the set where
nothing actually gives up. The rule the two method names encode is that a
tripwire separates a bounded operation from an unbounded one, and the thing it
separates here is a search served from the graph it already has from one that
waits for a rebuild - both finite, and the bound is the whole claim. That makes
it assertStayedUnder, which also lines it up with how every other "must not wait
on background work" assertion in the diff is categorized.

Also drops a dead local the same review asked to check for: WithAndUnwindTest
timed the inline-property path into inlineTimeMs and never asserted on it. It
predates this PR, but it sat in the method just converted and was the last raw
wall-clock measurement left there, so it went with the rest.
@lvca

lvca commented Aug 16, 2026

Copy link
Copy Markdown
Member Author

Third review addressed.

Point 2 (LSMVectorIndexRebuildTest categorization) - valid, fixed in 6d166d1. It was the one assertGaveUpWithin in the set where nothing actually gives up. The rule the two names encode is that a tripwire separates a bounded operation from an unbounded one, and what this separates is a search served from the graph it already has from one that waits for the rebuild - both finite, and the bound is the whole claim. Now assertStayedUnder, which also lines it up with every other "must not wait on background work" assertion in the diff. I re-audited the other 14 assertGaveUpWithin sites against that rule and they all abort against a named limit (a thrown TimeoutException, a close() that force-shuts, a wait that returns false at its deadline), so this was the only slip.

Point 4 (tracking issue for the other modules) - filed as #6270, covering the six sites in server and network. Worth noting the server module is the worse environment for this, not the better one: those tests bind real ports and talk HTTP, so they already sit closer to their bounds.

Dead-locals check you asked for before merge - swept every changed file for locals and imports orphaned by the conversion. One hit: WithAndUnwindTest.inlineTimeMs, which timed the inline-property path and was never asserted on. It predates this PR, but it sat in the method just converted and was the last raw wall-clock measurement left there, so it went with the rest. Nothing else, and mvn -o -pl engine -am test-compile is clean.

Point 1 (check() read ordering) - agreed, and it is the accepted trade rather than something to fix: the two reads cannot be made atomic, and of the two orderings only this one biases toward a discount that is too generous. The other way round could under-discount and fail a run that was fine, which is the failure mode this PR exists to remove. It is documented at the call site and in JvmStallMonitor's Javadoc, along with the reason assertStayedUnder bounds still want an order of magnitude of headroom rather than being tuned down to whatever currently passes.

Point 3 (Issue5587 non-atomic pair) - agreed it is not a bug. The two reads are nanoseconds apart against a 10 ms sampler tick, and because every callback reads them in the same order the bias is common to both ends of each gap and cancels in the difference. Left as is.

@claude

claude Bot commented Aug 16, 2026

Copy link
Copy Markdown

Review: fix(#6260) wall-clock stall discounting

Overall this is a well-thought-out fix. The core idea, a daemon sampler that accumulates JVM-wide "not making progress" time and lets tests subtract it from their own wall-clock window, is a genuinely good solution to a hard problem (better than the alternative of just widening every bound until it stops flaking, which the PR correctly identifies as deleting the assertions for the "shared deadline vs. per-row budget" family). The two-method API (assertGaveUpWithin vs assertStayedUnder) encoding why a bound exists in the failure message is a nice piece of test design discipline, and StallAwareStopwatchTest does the right thing by injecting the stall deterministically rather than trying to provoke a real GC pause.

I checked the snapshot-ordering invariants in StallAwareStopwatch.check()/constructor (stall sampled after elapsed on read, before elapsed on write, so the discount can only be too generous, never too small) and the stallNanosForGap tick/tolerance accounting in JvmStallMonitor - both are correct and match what the Javadoc claims. I also swept every touched file for imports/leftover locals from the System.currentTimeMillis()/nanoTime() → StallAwareStopwatch conversions (e.g. WithAndUnwindTest's dropped inlineTimeMs, the package-private files that correctly don't import StallAwareStopwatch since they're already in com.arcadedb.utility) and didn't find anything left dangling.

One real gap: an un-raised @Timeout that's now tighter than the fix's own margin

The PR raises three @Timeout(30) → @Timeout(120) annotations, explaining that JUnit's timeout is plain wall-clock and can't be discounted, so it "has to be sized as a hang detector." That reasoning applies just as much to AsyncWedgedWorkerStallTest.producerBlockedOnWedgedWorkerEventuallyThrows, which still carries @Timeout(30) and was not touched:

  • The test's own body now uses stopwatch.assertGaveUpWithin(10_000, ...), i.e. it explicitly expects that a JVM stall can eat into this window without failing the assertion.
  • Its honest real-time budget is small (checkForStalledQueuesMaxDelay(50) × STALLED_NO_PROGRESS_WINDOWS (12) ≈ 600ms backstop, plus a couple of await()s and a final waitCompletion(10_000)), so normally it finishes in ~1-2s.
  • But the PR's own motivating data point is stalls of 24,143ms and 27,396ms observed late in the suite. Add that to the ~1-2s of real work and the total wall-clock lands at ~25-29s - uncomfortably close to, or over, the un-discounted 30s @Timeout.

So this specific test can still flake on exactly the mechanism the PR exists to fix: a @Timeout failure on a run where the code behaved correctly, because the JUnit-level bound wasn't part of the sweep even though the assertion inside it was. AsyncShutdownEscalationTest and AsyncShutdownPromptHelpingBailTest (@Timeout(60)) look fine by the same math (~60s vs. ~1-2s real work + ~27s worst-case stall ≈ 29s), so this looks like a one-off miss rather than a systemic gap. Worth bumping AsyncWedgedWorkerStallTest's @Timeout the same way (e.g. to 60 or 120) for consistency with the "budget already close to the observed stall" rule the other three follow.

Minor/non-blocking observations

  • The sensitivity trade-off (a genuine perf regression on a loaded box can be masked by the same mechanism that discounts real stalls) is called out clearly in JvmStallMonitor's Javadoc - good, since it's the kind of thing that's easy to rediscover the hard way otherwise.
  • PaginatedSparseVectorEngineBackpressureTest's 50ms bound is flagged in the second commit's message as the closest to the ~20ms tick+tolerance floor where the discount stops helping; that's already self-documented as the first place to look if it flakes, so no action needed, just confirming it's a reasonable place to have drawn the line.
  • Scope is appropriately limited to the engine test-jar per the stated plan (server/protocol modules as a documented follow-up), and the CLAUDE.md addition captures the rule for future tests clearly enough that a new test author shouldn't need to rediscover this PR to follow it.

Nice fix overall - just the one @Timeout I'd want addressed before merge, everything else looks solid.

…ctor like its three siblings

Review point, and correct: this test's assertion was converted to a
stall-discounted 10s bound but its @timeout(30) was left behind, which makes it
the one place in the diff that still flakes on exactly the mechanism this PR
exists to remove. Against ~1-2s of honest work (a 50ms x 12-window backstop plus
a couple of latches), a 24s pause lands the total at ~26s and a 27s one puts it
over. Raised to 120s, the same rule the other three follow.

Not swept wholesale, deliberately. There are ~20 more @timeout annotations in
the engine suite under 45s, and bumping them all would be the blanket widening
this PR argues against: several of them ARE the assertion rather than a hang
detector - RangeFunctionTest's 5s bounds are the GHSA-xmjm range() guard, where
the whole claim is that the call returns rather than materialising the range.
Deciding which is which is the same per-assertion classification pass this PR
did for elapsed-time bounds, and it belongs with the rest of that work in #6270
rather than as an untested blind bump here.
@claude

claude Bot commented Aug 16, 2026

Copy link
Copy Markdown

Reviewed the full diff (new JvmStallMonitor/StallAwareStopwatch/StallAwareStopwatchTest, CLAUDE.md rule, and all 26 converted test classes). Overall this is a well-engineered fix: it targets the measurement rather than the bounds, keeps every existing bound as tight as before, and ships a dedicated regression test (StallAwareStopwatchTest) that reproduces the reported failure with an injected stall rather than a provoked one - a sound approach given how unreliable provoking a real STW pause on demand would be.

Correctness

  • JvmStallMonitor sampler: lazy start via the holder idiom is correctly thread-safe, the daemon thread with no shutdown path is a reasonable choice for a test-JVM-lifetime utility, and stallNanosForGap clamps correctly to avoid negative charges on early/spurious park wakeups.
  • StallAwareStopwatch.check() reads elapsedMs() before stallMs() - i.e. the stall snapshot is taken strictly after the elapsed snapshot. This means the discount can include stall that happened after the measured window closed, so effectiveMs() can come out lower than the "true" in-window stall would justify. That is called out explicitly in the code comment and is a deliberate, documented bias toward false negatives (a stall-hiding read) over false positives (a flaky failure) - consistent with the trade-off already spelled out in JvmStallMonitors class Javadoc. Not a bug, just worth double-checking it is the trade-off you want long-term, since it means a genuine regression landing in an already-loaded CI run has slightly more room to hide.
  • Spot-checked every converted assertion against the assertGaveUpWithin vs assertStayedUnder taxonomy described in the PR/CLAUDE.md (tripwire vs. complexity-claim-as-bound) - all ~40 conversions apply the right one consistently, and the isBetween splits (FlushRobustnessTest, Issue6125SnapshotBarrierAndCapTest) correctly keep the lower bound on raw wall clock while discounting only the ceiling.
  • The @Timeout raises are all on tests whose own internal budget is already double-digit seconds, so sizing them as hang detectors rather than latency bounds is right.

Test coverage
StallAwareStopwatchTest is thorough: injected-stall pass-through, still-fails-without-a-stall-to-hide-behind (the important negative control proving the fix does not delete the tests it is meant to save), clamp-at-zero when stall exceeds the window, sleep-not-discounted, tolerance/jitter floor, and sampler-thread/monotonicity checks.

Minor/non-blocking nits

  • blockingIsNotDiscountedAsAStall in StallAwareStopwatchTest does a real Thread.sleep(1_000) plus a few hundred ms of busy-spinning elsewhere in the class - the class as a whole is right at the edge of what CLAUDE.md's @Tag("slow") guidance describes ("multi-second elapsed time"). Not clearly over the line, but worth a second look given the project convention.
  • JvmStallMonitor's TICK_NANOS/TOLERANCE_NANOS floor (~20ms) is well documented as the sensitivity limit; PaginatedSparseVectorEngineBackpressureTest's 50ms assertStayedUnder bound is called out by name in the Javadoc as the closest one to that floor, which is a nice touch for future maintainers - just flagging this is the bound most likely to need attention if the tolerance is ever tuned.
  • No production code is touched at all - everything lives under src/test/java, so there is no runtime/performance/security surface change to the shipped engine.

I did not have a way to run mvn -o -pl engine -am test in this environment to independently reproduce the "12,093 tests, 0 failures" claim from the PR description, so that part is taken on faith; the static review of the logic and taxonomy application did not turn up anything that would contradict it.

Nice work on the depth of the documentation here - the class Javadocs and per-assertion messages do a good job of preventing the exact failure mode this PR is designed to prevent (someone "fixing" a red run by blindly loosening a number).

@lvca

lvca commented Aug 16, 2026

Copy link
Copy Markdown
Member Author

Fifth review: no blocking issues, three non-blocking nits. Answering them rather than changing anything.

@Tag("slow") on StallAwareStopwatchTest - measured rather than estimated: the class runs in 1.358 s for all 7 tests. CLAUDE.md's slow lane is for "multi-second elapsed time", so it is under the line, not at the edge of it. The Thread.sleep(1_000) is most of that and it is load-bearing: the test asserts a sleeping thread is still charged for the second it slept, which is the property that stops every latch wait in the suite from silently becoming unbounded. Shortening it to save a second would weaken the one test that pins that behaviour, so it stays in the default lane.

check() read ordering - confirming this is the trade-off wanted long-term, not an accident. The two reads cannot be atomic, so the only choice is which way to be wrong. Reading the stall last means the discount can only be too generous; reading it first means it can be too small, which fails a run where nothing was wrong - the exact failure this PR exists to remove. A test that goes red for a reason unrelated to the code teaches people to ignore it, and an ignored suite hides far more than a slightly lenient bound does. The cost is bounded and stated in JvmStallMonitor's Javadoc, and it is why assertStayedUnder bounds are documented as wanting an order of magnitude of headroom rather than being tuned down to whatever currently passes.

The ~20 ms floor / PaginatedSparseVectorEngineBackpressureTest - agreed, and already named in the Javadoc as the first place to look if that bound ever flakes.

On the unverifiable claim: the "12,093 tests, 0 failures" figure is mvn -o -pl engine -am test -DexcludedGroups=benchmark,vector,slow run locally on this branch, and the slow and vector lanes were run separately for the touched classes. CI's own unit-tests / slow-unit-tests / vector-unit-tests lanes on this PR are the independent check.

@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.11%. Comparing base (4359848) to head (70eb144).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6268      +/-   ##
==========================================
- Coverage   70.11%   70.11%   -0.01%     
==========================================
  Files        1838     1838              
  Lines      158758   158758              
  Branches    33489    33489              
==========================================
- Hits       111318   111312       -6     
+ Misses      33572    33570       -2     
- Partials    13868    13876       +8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lvca
lvca merged commit 863eb81 into main Aug 17, 2026
32 of 33 checks passed
@lvca
lvca deleted the issue-6260 branch August 17, 2026 00:36
@lvca lvca added this to the 26.9.1 milestone Aug 17, 2026
lvca added a commit that referenced this pull request Aug 17, 2026
…t wrote, a warning that speaks again, and bounds that say what they are for (#6307)

Four test-hygiene follow-ups from #6267 / #6268, fixed together.

#6297 (1) - the teardown resolved its paths from a configuration it had just reset.
BaseGraphServerTest.endTest() called GlobalConfiguration.resetAll() before the cleanup,
and every path TestServerHelper.deleteDatabaseFolders() deletes is resolved at call
time from SERVER_DATABASE_DIRECTORY, whose default is ${arcadedb.server.rootPath}/databases
over a root path that defaults to null and resolves to the empty string. So the cleanup
deleted /databases0 while the test's own ./target/databases0 - and the .raft-storage under
it - survived. The reset now runs last, inside a finally that also covers the deletes so a
failing checkDatabasesAreIdentical no longer skips them; StaticBaseServerTest.beginTest
configures before it cleans for the same reason; and a guard refuses a path that did not
resolve, so a future reordering degrades to a logged no-op rather than a recursive delete
at the filesystem root.

#6297 (2) - the ambiguity warnings no longer go permanently quiet. The warn-once latches
are replaced by the rendered collision list itself, so any change to the verdict is
reported and an unchanged verdict stays quiet whatever the cluster did in between. Both
callers now hand over every resolved view, ambiguous or not: a clean pass is the only thing
that clears the memory, and guarding on "is it ambiguous now?" left the stored verdict
outliving the collision it described - so the same collision, reintroduced after the
operator fixed it, compared equal and was logged nowhere. That gap covered HTTPS too, since
only getPeerHttpEndpoints was unconditional and only for HTTP.

Items (3) and (4) of #6297 stay as tracking entries: the next cut of RESYNC_RETRY_TIMEOUT_MS
needs runs at the new report threshold before there is a number to choose, and isolating the
heavy HA ITs into their own fork is a CI-lane change whose regression signal is a series of
full-suite runs, not a test.

#6280 - OpenCypherCountOptimizationTest could not see the count push-down regress: a full
type scan returns the same count, just slower. EXPLAIN does route through the openCypher
engine and does describe the push-down, so the six assertions commented out behind a TODO
are restored against it, and the alias, empty-type and polymorphic cases get one too.

#6279 - issue3216_performanceComparisonMatchStrategies asserted only that two elapsed times
were not negative. Its premise was also obsolete: extractIdFilter lifts an
ID(x) = <literal|parameter> equality into the MatchNodeStep at plan time, which is what
#3216 was closed on, and it applies to the single-MATCH form exactly as to the split one.
MatchNodeStep.prettyPrint now names the RID it was given, so the test asserts the structural
property - neither form scans - with a control query the push-down cannot serve.

#6270 - the wall-clock pass done for the engine suite in #6268, applied to server and
network: four bounds separating a bounded operation from an unbounded one now measure
through StallAwareStopwatch. HTTPAuthSessionIT needed nothing - its two sites are a lower
bound and a field-presence check. The @timeout classification pass covers the engine
annotations at 45s or under: they are hang detectors whose claim is carried by a structural
assertion, so they are sized clear of an honest budget plus a stall, except the genuine
laziness claims which are asserted on the discounted clock with the annotation left behind
them. The stall sampler is renamed out of the engine's thread namespace so a leak detector
cannot mistake it for engine machinery.

Closes #6297
Closes #6280
Closes #6279
Closes #6270
lvca added a commit that referenced this pull request Aug 17, 2026
…t wrote, a warning that speaks again, and bounds that say what they are for (#6307)

* fix(#6297, #6280, #6279, #6270): a teardown that deletes what the test wrote, a warning that speaks again, and bounds that say what they are for

Four test-hygiene follow-ups from #6267/#6268, fixed together.

#6297 - the teardown resolved its paths from a configuration it had just reset.
BaseGraphServerTest.endTest() called GlobalConfiguration.resetAll() before the
cleanup, and every path TestServerHelper.deleteDatabaseFolders() deletes is
resolved at call time from SERVER_DATABASE_DIRECTORY, whose default is
${arcadedb.server.rootPath}/databases over a root path that defaults to null and
resolves to the empty string. So the cleanup deleted /databases0 while the test's
own ./target/databases0 - and the .raft-storage under it - survived. The reset now
runs last, in a finally that also covers the deletes so a failing
checkDatabasesAreIdentical no longer skips them, and StaticBaseServerTest.beginTest
configures before it cleans for the same reason. A guard in deleteDatabaseFolders
refuses a path that did not resolve (blank, or an absolute one naming a single
root-level folder), so a future reordering degrades to a logged no-op instead of a
recursive delete at the filesystem root.

Also #6297: the ambiguity warnings no longer go permanently quiet. A "log this
once" latch is right until the operator acts on it - they declare the two ports it
named, a different pair collides, and nothing is logged because the latch is spent.
The latches are replaced by the rendered collision list itself, so any change to the
verdict is reported and an unchanged verdict stays quiet whatever the cluster did in
between; a clean pass clears the memory so a reintroduced misconfiguration is
announced again. The routing warning now names the peers that collided, like its
peer-to-peer twin already did.

#6280 - OpenCypherCountOptimizationTest could not see the count push-down regress:
a full type scan returns the same count, just slower. EXPLAIN does route through the
openCypher engine and does describe the push-down, so the six assertions commented
out behind a TODO are restored against it, and the alias, empty-type and polymorphic
cases get one too.

#6279 - issue3216_performanceComparisonMatchStrategies asserted only that two
elapsed times were not negative. Its premise is also obsolete: extractIdFilter lifts
an ID(x) = <literal|parameter> equality into the MatchNodeStep at plan time, which is
what #3216 was closed on, and it applies to the single-MATCH form exactly as to the
split one. MatchNodeStep.prettyPrint now names the RID it was given, so the test
asserts the structural property - neither form scans - with a control query the
push-down cannot serve. Off the benchmark lane, since it no longer times anything.

#6270 - the wall-clock pass done for the engine suite in #6268, applied to server and
network: four bounds separating a bounded operation from an unbounded one now measure
through StallAwareStopwatch. HTTPAuthSessionIT needed nothing - its two sites are a
lower bound and a field-presence check. The @timeout classification pass covers the
~20 engine annotations at 45s or under: all of them are hang detectors whose claim is
carried by a structural assertion, so they are sized clear of an honest budget plus a
stall, except the two laziness claims which are now asserted on the discounted clock
with the annotation left behind them as the hang detector. The stall sampler is also
renamed out of the engine's thread namespace so a leak detector cannot mistake it for
engine machinery.

* review: collapse the duplicated teardown cleanup, and say why the verdict update is not a CAS loop

Both from the code review on #6307, both non-blocking.

BaseGraphServerTest.endTest() called the instance deleteDatabaseFolders() and then
repeated the two TestServerHelper calls it already ends in - a second recursive walk
of folders that were just removed, on every server test. It was unconditional
because the instance method is not: the folders go whether or not the databases were
dropped. Made that explicit as the else branch instead, which keeps the semantics and
does the work once. The two overrides that exist reach the same calls through super.

RaftHAServer.isNewAmbiguityVerdict uses getAndSet rather than a compareAndSet loop on
purpose: two threads with two DIFFERENT verdicts both logging is a duplicate warning
about a misconfiguration that really did change, and a CAS loop would only pick which
one the operator never hears about.

* review: the guard checks the path it is about to delete, not the prefix of it

Second review round on #6307, non-blocking. deleteResolvedFolder validated only the
prefix argument, so the verdict rested on an assumption about the other one - that
appending a digit and a separator can neither make a relative path absolute nor
change its segment count. True today, and a precondition a future caller has no way
to know it must preserve. Checking the concatenation has none. Same verdicts on
every path the callers actually produce, now including the ones the new cases pin:
'/databases0/' still refused, a root path that collapsed to '/' refused for its
replication folder too.

* review: skip the renderer on a clean pass, and record the two couplings that stay

Third review round on #6307, all three points non-blocking.

describeAmbiguity built a StringBuilder before discovering the collision map was
empty, which is the common case on a correctly declared cluster and the one
getPeerHttpEndpoints() asks about on every request. Returns early instead.

The engine test-jar is a package-phase artifact, so 'mvn -pl server test' without -am
resolves it from ~/.m2 and can run against a stale one - the trap CLAUDE.md already
documents for arcadedb-gremlin-it. Noted next to the dependency in both poms rather
than left for the next person to rediscover.

The endTest() else branch cannot go through the overridable deleteDatabaseFolders(),
because that drops the databases first and the branch exists precisely for a class
that asked it not to. Verified no current class combines the two: the only override
of dropDatabasesAtTheEnd() returning false (ServerReadOnlyDatabasesIT) does not
override deleteDatabaseFolders(), and the two that do (BaseRaftHATest,
RaftStorageDirectoryIT) inherit true. Written down at the call site.

* fix(#6297): the callers have to hand over the clean passes too, or the memory never clears

Real bug found by the fourth review round on #6307, and it defeated half of what
#6297 (2) was for.

isNewAmbiguityVerdict clears the memory when a pass finds no collision - that is what
makes a fixed-and-reintroduced misconfiguration get reported again. But both callers
consulted the warning only when the CURRENT view was already ambiguous, so a clean
pass never reached it. The stored verdict outlived the collision it described, and
the identical collision coming back later compared equal and was logged nowhere.

getRoutingTable now warns unconditionally. So does unambiguousPeerAddress, which had
the same gap one layer down and is why it applied to HTTPS as well: getPeerHttpEndpoints
already hands over every HTTP view, so the HTTP memory was being cleared by accident of
that one caller, while the HTTPS memory - reachable only through the per-peer accessor -
had nothing clearing it at all. Warning from a pass where the peer asked about is fine
but others collide also matches what the line already claims to be: a report of every
collision the pass found, not of the one address the caller asked about.

getRoutingTable's body is split into routingTableFor(protocol, leaderId) so the wiring
can be driven without a live Ratis division - getLeaderId() answers null until one
exists, which is before the warn path is reached, so nothing could otherwise exercise
the clean half. Both new tests were confirmed red against the guarded callers: the
reintroduced collision logs nothing, expected 2 actual 1.

* fix(#6270): the laziness bound was wrapped around an O(n) IN, so it asserted the walk

CI caught it: hugeRangeIsLazyWhenTheLimitIsDisabled measured 20,570 ms with 0 ms of
JVM stall - not a pause, 20 seconds of real work - against the 10 s bound this PR put
around all three queries.

The premise was wrong, not the number. size() and indexing really are answered from
start, step and size alone: 8 ms and 1 ms measured. IN is not. InExpression.evaluateTernary
walks the list element by element, and has to, because Cypher's three-valued logic makes
a null anywhere in the list turn a non-match into null rather than false - something
List.contains cannot report, so it cannot delegate to LongRangeList's O(1) contains().
That walk is O(n) whether the range is lazy or not, 3 s locally and 20 s on a CI runner
for an element near the end, and a bound around it was measuring the walk rather than
the claim.

So the window now covers the two reads that carry the claim, at a bound five times
tighter than the one that failed, and IN stays in the test - it is real coverage of a
huge range - bounded by the @timeout hang detector like every other non-claim here.

The sibling bound in LongRangeListTest is unaffected and passed CI in 0.012 s: that one
calls LongRangeList.contains() directly, which IS the O(1) path.

Worth filing separately: Cypher IN over a lazy list could take the O(1) contains() when
the list holds no null, which is the common case and the only one where the walk is pure
cost. Out of scope here - it is an evaluation change with its own semantics to pin.

* review: count the claims once per routing table, not twice

Sixth review round on #6307, non-blocking. selectUnambiguousRouting builds the
claim counts internally and warnAmbiguousRouting rebuilt the same map from the same
view - occasional before, but the warning now runs on every call, so it was a
duplicate HashMap per ROUTE request and per refusal. Counted once in routingTableFor
and handed to both, which is what unambiguousPeerAddress already does with its twin.

selectUnambiguousRouting keeps its four-argument form as a delegating overload, so
Issue6183AmbiguousRoutingTest still drives it the way it did.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wall-clock assertions in the engine suite go red on the shared JVM's stop-the-world pauses, not on the behaviour they test

1 participant