Re #77: Cleanup after debugging

This commit is contained in:
tomasz.kowalczewski committed 2021-10-23 21:39:08 +02:00
1 parent 52e2381e09
commit 660b958c33
6 files changed
-29

No files matched your search

-12
View File
@@ -118,16 +118,4 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</project>
@@ -34,7 +34,6 @@ public class LogShipperAgent implements Agent {
}
private int doWork(boolean isTerminating) throws IOException {
System.out.println("DOING WORK...");
int workDone = logBuffer.read(messageHandler, MAX_MESSAGES_TO_RETRIEVE);
if (isTerminating || batchStrategy.shouldProceed()) {
@@ -28,7 +28,6 @@ public class HttpConnection implements Closeable {
EventLoopGroupRetry retry = new EventLoopGroupRetry(
group,
__ -> {
System.out.println("INCREMENT...");
monitoringModule.incrementHttpConnectAttempts();
recreateConnection(__);
}
@@ -80,7 +80,6 @@ public class DropwizardMonitoringModule implements MonitoringModule {
@Override
public void incrementHttpConnectAttempts() {
System.out.println("DROPWIZARD!!!!");
httpConnectAttempts.inc();
}
@@ -23,9 +23,7 @@ class LokiAppenderMonitoringTest {
LoggerContext context = loadConfig("basic-appender-test-configuration.xml");
System.out.println("appenders = " + context.getConfiguration().getAppenders());
LokiAppender loki = context.getConfiguration().getAppender("Loki");
MetricRegistry metricRegistry = new MetricRegistry();
loki.setMonitoringModule(
new DropwizardMonitoringModule(
-12
View File
@@ -115,18 +115,6 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>allocation-profiling</id>