From 893f2199190dff6d11eef80305a587ecd0e5834b Mon Sep 17 00:00:00 2001 From: Justin Bertram Date: Thu, 3 May 2018 14:21:47 -0500 Subject: [PATCH] ARTEMIS-1847 another test fix after Netty upgrade --- .../org/apache/activemq/artemis/tests/util/SimpleStringTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/SimpleStringTest.java b/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/SimpleStringTest.java index 054b186c00..ec081a67ff 100644 --- a/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/SimpleStringTest.java +++ b/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/SimpleStringTest.java @@ -419,6 +419,7 @@ public class SimpleStringTest extends Assert { final SimpleString expectedPooled = pool.getOrCreate(bb); bb.resetReaderIndex(); Assert.assertSame(expectedPooled, pool.getOrCreate(bb)); + bb.resetReaderIndex(); } }