Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Dependency version updates #35

Merged
merged 1 commit into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ repositories {
}

dependencies {
implementation 'com.netflix.servo:servo-core:0.4.49'
implementation 'com.netflix.archaius:archaius-core:0.7.8'
implementation 'org.slf4j:slf4j-api:1.7.3'
implementation 'log4j:log4j:1.2.17'
implementation 'com.netflix.servo:servo-core:0.13.2'
implementation 'com.netflix.archaius:archaius-core:0.7.10'
implementation 'org.slf4j:slf4j-api:1.7.36'
implementation 'ch.qos.reload4j:reload4j:1.2.25'
implementation 'commons-collections:commons-collections:3.2.2'
implementation 'commons-configuration:commons-configuration:1.8'
implementation 'commons-configuration:commons-configuration:1.10'

testImplementation 'junit:junit:4.13.1'
testImplementation 'org.slf4j:slf4j-log4j12:1.7.3'
testImplementation 'org.slf4j:slf4j-reload4j:1.7.36'
}
7 changes: 7 additions & 0 deletions src/test/java/com/netflix/blitz4j/TestBlitz4j.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import org.junit.After;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand All @@ -38,6 +39,12 @@ public class TestBlitz4j {
private static final String consoleSummarizeEvent = "stdout_summarizeEvent";
private static final String consoleEventsProcessed = "stdout_putInBuffer";

@BeforeClass
public static void setUp() {
// Starting with servo 0.13.x the default registry is a NoOp, but we rely on having a real one because we use collected metrics to validate behavior
System.setProperty("com.netflix.servo.DefaultMonitorRegistry.registryClass", "com.netflix.servo.jmx.JmxMonitorRegistry");
}

@After
public void tearDown() throws Exception {
props.clear();
Expand Down
Loading