From 8819d134f4a4a25ae896c1f7f2602000d613fb04 Mon Sep 17 00:00:00 2001 From: Albert Louis Rossi Date: Thu, 11 May 2023 10:40:21 -0500 Subject: [PATCH] benchmarks: remove call to removed psu method Motivation: See https://rb.dcache.org/r/13976/ master@62de04a14e and https://rb.dcache.org/r/13968/ Commit c0c11f4aa2 The call to the removed switch should be eliminated from the benchmark test. Modification: Do it. Result: IntelliJ is happy. Target: master Patch: https://rb.dcache.org/r/13980/ Requires-notes: no Acked-by: Tigran --- .../java/org/dcache/util/PoolSelectionUnitBenchmarkCaching.java | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/benchmarks/src/main/java/org/dcache/util/PoolSelectionUnitBenchmarkCaching.java b/modules/benchmarks/src/main/java/org/dcache/util/PoolSelectionUnitBenchmarkCaching.java index 92a0ea307ab..a2a01e33fa5 100644 --- a/modules/benchmarks/src/main/java/org/dcache/util/PoolSelectionUnitBenchmarkCaching.java +++ b/modules/benchmarks/src/main/java/org/dcache/util/PoolSelectionUnitBenchmarkCaching.java @@ -347,7 +347,6 @@ public void setUp() throws CommandException { @Threads(value = 16) public int matchCaching() { - psu.setCachingEnabeled(true); String address = adresses[ThreadLocalRandom.current().nextInt(adresses.length)]; PoolPreferenceLevel[] preference = psu.match( DirectionType.WRITE, // operation