mirror of
https://github.com/tiennm99/tjahzi.git
synced 2026-10-15 16:15:22 +00:00
Re #77: Cleanup after debugging
This commit is contained in:
1 parent
52e2381e09
commit
660b958c33
6 files changed
-29
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
-2
@@ -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(
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user