Skip to content

Commit 21ce09c

Browse files
committed
Empty TestPathLookup
1 parent 9b8e676 commit 21ce09c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/framework/src/main/java/org/elasticsearch/entitlement/bootstrap/TestEntitlementBootstrap.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,17 @@ public static void bootstrap() {
3333
private record TestPathLookup() implements PathLookup {
3434
@Override
3535
public Path pidFile() {
36-
throw notYetImplemented();
36+
return null;
3737
}
3838

3939
@Override
4040
public Stream<Path> getBaseDirPaths(BaseDir baseDir) {
41-
throw notYetImplemented();
41+
return Stream.empty();
4242
}
4343

4444
@Override
4545
public Stream<Path> resolveSettingPaths(BaseDir baseDir, String settingName) {
46-
throw notYetImplemented();
47-
}
48-
49-
private static IllegalStateException notYetImplemented() {
50-
return new IllegalStateException("not yet implemented");
46+
return Stream.empty();
5147
}
5248

5349
}

0 commit comments

Comments
 (0)