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() {
191
191
* Starts the periodic buffer flusher using ScheduledExecutorService.
192
192
* This eliminates the busy-waiting loop with Thread.sleep().
193
193
*/
194
- private void startPeriodicFlusher () {
194
+ private void startPeriodicFlusher () {
195
195
scheduledExecutor .scheduleAtFixedRate (
196
196
() -> {
197
197
if (running ) {
@@ -209,7 +209,7 @@ private void startPeriodicFlusher() {
209
209
210
210
LOGGER .info ("Periodic log flusher started with interval of {} seconds" , FLUSH_INTERVAL_SECONDS );
211
211
}
212
- /**
212
+ /**
213
213
* Gets the current number of buffered log entries.
214
214
* Useful for monitoring and testing.
215
215
*
Original file line number Diff line number Diff line change 39
39
import org .mockito .Mock ;
40
40
import org .mockito .junit .jupiter .MockitoExtension ;
41
41
42
- /**
43
- * FIXED Championship Test Suite - LogAggregator.
44
- *
45
- * Fixed to work with the actual LogAggregator API and proper imports
46
- */
42
+
47
43
@ ExtendWith (MockitoExtension .class )
48
44
class LogAggregatorTest {
49
45
You can’t perform that action at this time.
0 commit comments