aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus/src/test/java/com/yahoo/messagebus/routing
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-09-23 14:14:18 +0200
committerJon Bratseth <bratseth@gmail.com>2022-09-23 14:14:18 +0200
commitd6a545edd997816f3a066cf7947a28557b0744cf (patch)
tree6e9a418c9ae2279095fb72d900e16321fd0e54b0 /messagebus/src/test/java/com/yahoo/messagebus/routing
parent78c9bfbe44faa52006e268bd829d83b2d907dbf3 (diff)
Make list mutable
Diffstat (limited to 'messagebus/src/test/java/com/yahoo/messagebus/routing')
-rwxr-xr-xmessagebus/src/test/java/com/yahoo/messagebus/routing/RoutingSpecTestCase.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingSpecTestCase.java b/messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingSpecTestCase.java
index b38ac632a37..669e9e25bf2 100755
--- a/messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingSpecTestCase.java
+++ b/messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingSpecTestCase.java
@@ -284,6 +284,8 @@ public class RoutingSpecTestCase {
routing.verify(app, errors);
Collections.sort(errors);
+
+ expectedErrors = new ArrayList<>(expectedErrors);
Collections.sort(expectedErrors);
assertEquals(expectedErrors.toString(), errors.toString());
}