From b92f272a72452cc6ccf162001b8df06fc7e51b07 Mon Sep 17 00:00:00 2001 From: James Watson Date: Wed, 19 Jul 2023 15:26:56 +0100 Subject: [PATCH] [Java] Align record offset in DriverEventLoggerTest.logLookup. --- .../src/test/java/io/aeron/agent/DriverEventLoggerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aeron-agent/src/test/java/io/aeron/agent/DriverEventLoggerTest.java b/aeron-agent/src/test/java/io/aeron/agent/DriverEventLoggerTest.java index 1a944f68eb..be55372394 100644 --- a/aeron-agent/src/test/java/io/aeron/agent/DriverEventLoggerTest.java +++ b/aeron-agent/src/test/java/io/aeron/agent/DriverEventLoggerTest.java @@ -327,7 +327,7 @@ void logResolve(final boolean isReResolution) throws UnknownHostException @ValueSource(booleans = { false, true }) void logLookup(final boolean isReLookup) { - final int recordOffset = 30; + final int recordOffset = align(30, ALIGNMENT); logBuffer.putLong(CAPACITY + TAIL_POSITION_OFFSET, recordOffset); final String resolverName = generateStringWithSuffix("my-resolver", "*", 1000);