File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
microservices-log-aggregation/src
main/java/com/iluwatar/logaggregation
test/java/com/iluwatar/logaggregation Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ private void flushBuffer() {
191191 * Starts the periodic buffer flusher using ScheduledExecutorService.
192192 * This eliminates the busy-waiting loop with Thread.sleep().
193193 */
194- private void startPeriodicFlusher () {
194+ private void startPeriodicFlusher () {
195195 scheduledExecutor .scheduleAtFixedRate (
196196 () -> {
197197 if (running ) {
@@ -209,7 +209,7 @@ private void startPeriodicFlusher() {
209209
210210 LOGGER .info ("Periodic log flusher started with interval of {} seconds" , FLUSH_INTERVAL_SECONDS );
211211 }
212- /**
212+ /**
213213 * Gets the current number of buffered log entries.
214214 * Useful for monitoring and testing.
215215 *
Original file line number Diff line number Diff line change 3939import org .mockito .Mock ;
4040import org .mockito .junit .jupiter .MockitoExtension ;
4141
42- /**
43- * FIXED Championship Test Suite - LogAggregator.
44- *
45- * Fixed to work with the actual LogAggregator API and proper imports
46- */
42+
4743@ ExtendWith (MockitoExtension .class )
4844class LogAggregatorTest {
4945
You can’t perform that action at this time.
0 commit comments