GitHub user jwonders opened a pull request:

    https://github.com/apache/incubator-rya/pull/159

    F/rya 67 faster integration tests

    <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
    
      http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    ## Description
    Adds a singleton container for the Accumulo MiniCluster was added to share 
the MiniCluster across tests (within a project).  Also adds a test rule that 
can be used to get unique rya instance names and user names within an execution 
of the tests.
    
    A new fluo instance is still created per test and this is now the 
dominating contributor to test runtime.  There does not appear to be an obvious 
way to share the fluo instance since each test will have a separate rya 
instance and the export observer must be configured up front with the rya 
instance name.
    
    ### Tests
    Tests were updated to avoid conflicting rya instance names, user names, 
etc.  No new tests were added because no functionality was added.
    
    ### Links
    [Jira](https://issues.apache.org/jira/browse/RYA-67)
    
    ### Checklist
    - [ ] Code Review
    - [ ] Squash Commits
    
    #### People To Reivew
    @meiercaleb @isper3at @pujav65 @amihalik 


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jwonders/incubator-rya 
f/RYA-67-faster-integration-tests

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rya/pull/159.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #159
    
----
commit 33a6d750966e1ae4f3090e76b136fcc18d16f7a5
Author: Jonathan Wonders <[email protected]>
Date:   2017-05-19T00:19:26Z

    RYA-67 Making Accumulo integration tests faster by sharing MiniAccumulo
    
    Each test execution shares a MiniAccumulo instance via a static singleton.
    Tests have been updated to use different rya instance names and different
    user names to make the tests independent from other tests.

commit 7f5f172a34c2f22d285cfebed946ff33c504a46f
Author: Jonathan Wonders <[email protected]>
Date:   2017-05-19T00:22:31Z

    Reducing the number of temporary mongo executables.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to