diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-09-23 14:14:18 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-09-23 14:14:18 +0200 |
commit | d6a545edd997816f3a066cf7947a28557b0744cf (patch) | |
tree | 6e9a418c9ae2279095fb72d900e16321fd0e54b0 /messagebus/src | |
parent | 78c9bfbe44faa52006e268bd829d83b2d907dbf3 (diff) |
Make list mutable
Diffstat (limited to 'messagebus/src')
-rwxr-xr-x | messagebus/src/test/java/com/yahoo/messagebus/routing/RoutingSpecTestCase.java | 2 |
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()); } |