Quantcast

[1/2] activemq-artemis git commit: NO-JIRA: fixing alignment on test

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[1/2] activemq-artemis git commit: NO-JIRA: fixing alignment on test

clebertsuconic-2
Repository: activemq-artemis
Updated Branches:
  refs/heads/1.x c5c50c53b -> 64968afce


NO-JIRA: fixing alignment on test


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/446523f2
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/446523f2
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/446523f2

Branch: refs/heads/1.x
Commit: 446523f243e8387d923d77002ef60a4eb1253b88
Parents: c5c50c5
Author: Clebert Suconic <[hidden email]>
Authored: Thu Feb 16 10:19:19 2017 -0500
Committer: Clebert Suconic <[hidden email]>
Committed: Thu Feb 16 10:19:19 2017 -0500

----------------------------------------------------------------------
 .../artemis/tests/integration/journal/AIOJournalImplTest.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/446523f2/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/journal/AIOJournalImplTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/journal/AIOJournalImplTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/journal/AIOJournalImplTest.java
index a220ab6..b0d19b3 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/journal/AIOJournalImplTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/journal/AIOJournalImplTest.java
@@ -59,7 +59,8 @@ public class AIOJournalImplTest extends JournalImplTestUnit {
 
       file.mkdir();
 
-      return new AIOSequentialFileFactory(getTestDirfile(), ArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO, 1000000, 10, false);
+      // forcing the alignment to be 512, as this test was hard coded around this size.
+      return new AIOSequentialFileFactory(getTestDirfile(), ArtemisConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO, 1000000, 10, false).setAlignment(512);
    }
 
    @Override

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[2/2] activemq-artemis git commit: NO-JIRA: Removing spurious debug message

clebertsuconic-2
NO-JIRA: Removing spurious debug message

(cherry picked from commit f660783df53320e736fc187c0177d5f8206ec922)


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/64968afc
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/64968afc
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/64968afc

Branch: refs/heads/1.x
Commit: 64968afce0025c02d49a48a8608bdbe8efc24dec
Parents: 446523f
Author: Clebert Suconic <[hidden email]>
Authored: Thu Feb 16 12:05:44 2017 -0500
Committer: Clebert Suconic <[hidden email]>
Committed: Thu Feb 16 12:23:26 2017 -0500

----------------------------------------------------------------------
 .../apache/activemq/artemis/core/server/impl/LastValueQueue.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/64968afc/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LastValueQueue.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LastValueQueue.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LastValueQueue.java
index 453f588..08b5b28 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LastValueQueue.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/LastValueQueue.java
@@ -62,7 +62,6 @@ public class LastValueQueue extends QueueImpl {
                          final HierarchicalRepository<AddressSettings> addressSettingsRepository,
                          final Executor executor) {
       super(persistenceID, address, name, filter, pageSubscription, user, durable, temporary, autoCreated, scheduledExecutor, postOffice, storageManager, addressSettingsRepository, executor);
-      new Exception("LastValueQeue " + this).toString();
    }
 
    @Override

Loading...