Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF17817732 for ; Sat, 11 Jul 2015 18:25:04 +0000 (UTC) Received: (qmail 17517 invoked by uid 500); 11 Jul 2015 18:25:04 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 17476 invoked by uid 500); 11 Jul 2015 18:25:04 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 17467 invoked by uid 99); 11 Jul 2015 18:25:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jul 2015 18:25:04 +0000 Date: Sat, 11 Jul 2015 18:25:04 +0000 (UTC) From: "James Carman (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6826) Use Mock Objects Instead of Live HazelcastInstances to Speed Up Testing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623512#comment-14623512 ] James Carman commented on CAMEL-6826: ------------------------------------- You mean it's fast enough after the changes made? Sorry didn't realize this was the one with work already done. If we like how it works now, I'm cool with closing this, but it should be marked as "fixed" since something was actually done. > Use Mock Objects Instead of Live HazelcastInstances to Speed Up Testing > ----------------------------------------------------------------------- > > Key: CAMEL-6826 > URL: https://issues.apache.org/jira/browse/CAMEL-6826 > Project: Camel > Issue Type: Improvement > Components: camel-hazelcast > Reporter: James Carman > > The unit tests for the camel-hazelcast component use real HazelcastInstance objects, which is very slow. We should use mock objects instead to speed up testing. Testing the integration can be done with a few, select tests, but the majority of the logic can be tested with mocks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)