diff --git a/core/src/integration-test/java/io/aiven/kafka/tieredstorage/RemoteStorageManagerTest.java b/core/src/integration-test/java/io/aiven/kafka/tieredstorage/RemoteStorageManagerTest.java index a6b042e4c..bb19ea982 100644 --- a/core/src/integration-test/java/io/aiven/kafka/tieredstorage/RemoteStorageManagerTest.java +++ b/core/src/integration-test/java/io/aiven/kafka/tieredstorage/RemoteStorageManagerTest.java @@ -493,16 +493,16 @@ void testTransformingIndexes(final boolean encryption) { final var segmentIndexBuilder = new SegmentIndexesV1Builder(); final var bytes = "test".getBytes(); - assertThat(rsm.transformIndex( + final var is = rsm.transformIndex( IndexType.OFFSET, new ByteArrayInputStream(bytes), bytes.length, encryptionMetadata, segmentIndexBuilder - )).isNotEmpty(); + ); + assertThat(is).isNotEmpty(); } - @ParameterizedTest @ValueSource(booleans = {true, false}) void testTransformingEmptyIndexes(final boolean encryption) {