Skip to content

Commit

Permalink
fix some test stuff to not use nonexistent classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Feb 21, 2024
1 parent 1c995d8 commit 8de9f77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import org.slf4j.LoggerFactory;
import org.testcontainers.containers.DockerComposeContainer;
import org.testcontainers.containers.wait.strategy.Wait;
import org.testcontainers.shaded.org.apache.commons.lang.NotImplementedException;

public class CortexTSSIntegrationTest extends AbstractStorageIntegrationTest {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.opennms.timeseries.cortex;

import org.opennms.integration.api.v1.distributed.KeyValueStore;
import org.testcontainers.shaded.org.apache.commons.lang.NotImplementedException;

import java.util.HashMap;
import java.util.Map;
Expand Down Expand Up @@ -33,12 +32,12 @@ public Optional get(String key, String context) {

@Override
public Optional getIfStale(String key, String context, long timestamp) {
throw new NotImplementedException();
throw new RuntimeException();
}

@Override
public OptionalLong getLastUpdated(String key, String context) {
throw new NotImplementedException();
throw new RuntimeException();
}

@Override
Expand All @@ -48,12 +47,12 @@ public Map enumerateContext(String context) {

@Override
public void delete(String key, String context) {
throw new NotImplementedException();
throw new RuntimeException();
}

@Override
public void truncateContext(String context) {
throw new NotImplementedException();
throw new RuntimeException();
}

@Override
Expand All @@ -70,17 +69,17 @@ public CompletableFuture<Long> putAsync(String key, Object value, String context

@Override
public CompletableFuture<Optional> getAsync(String key, String context) {
throw new NotImplementedException();
throw new RuntimeException();
}

@Override
public CompletableFuture<Optional> getIfStaleAsync(String key, String context, long timestamp) {
throw new NotImplementedException();
throw new RuntimeException();
}

@Override
public CompletableFuture<OptionalLong> getLastUpdatedAsync(String key, String context) {
throw new NotImplementedException();
throw new RuntimeException();
}

@Override
Expand All @@ -95,12 +94,12 @@ public CompletableFuture<Map> enumerateContextAsync(String context) {

@Override
public CompletableFuture<Void> deleteAsync(String key, String context) {
throw new NotImplementedException();
throw new RuntimeException();
}

@Override
public CompletableFuture<Void> truncateContextAsync(String context) {
throw new NotImplementedException();
throw new RuntimeException();
}

}

0 comments on commit 8de9f77

Please sign in to comment.