[ 
https://issues.apache.org/jira/browse/BEAM-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853489#comment-15853489
 ] 

ASF GitHub Bot commented on BEAM-1369:
--------------------------------------

GitHub user sb2nov opened a pull request:

    https://github.com/apache/beam/pull/1923

    [BEAM-1369] Reduce test times for two retry based tests

    R: @charlesccychen PTAL
    
    - The gcsio test was taking 2s so reducing the segment override makes it 
faster.
    - The retry test now just starts at a lower time to speed it up from 1s -> 
0.1s
    
    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [x] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [x] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [x] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License 
Agreement](https://www.apache.org/licenses/icla.txt).
    
    ---


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

    $ git pull https://github.com/sb2nov/beam BEAM-reduce-test-times

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

    https://github.com/apache/beam/pull/1923.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 #1923
    
----
commit d6b9e554df334acfc1af0ba29d4e591376474ed2
Author: Sourabh Bajaj <[email protected]>
Date:   2017-02-06T04:18:52Z

    Reduce test times for two retry based tests

----


> some unit tests in python take longer than 10s to run
> -----------------------------------------------------
>
>                 Key: BEAM-1369
>                 URL: https://issues.apache.org/jira/browse/BEAM-1369
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py
>            Reporter: Sourabh Bajaj
>            Assignee: Sourabh Bajaj
>            Priority: Minor
>
> 4 or 5 take up 50% of the time to run the unit tests.
> apache_beam.transforms.combiners_test.CombineTest.test_sample: 17.1545s
> apache_beam.io.avroio_test.TestAvro.test_dynamic_work_rebalancing_exhaustive: 
> 16.6666s
> apache_beam.examples.complete.estimate_pi_test.EstimatePiTest.test_basics: 
> 8.3667s
> apache_beam.io.textio_test.TextSourceTest.test_dynamic_work_rebalancing: 
> 1.9172s
> apache_beam.io.avroio_test.TestAvro.test_read_with_splitting_multiple_blocks: 
> 1.3939s
> apache_beam.io.textio_test.TextSourceTest.test_read_gzip_large: 1.2832s
> apache_beam.io.source_test_utils_test.SourceTestUtilsTest.test_split_at_fraction_exhaustive:
>  1.2787s
> apache_beam.io.bigquery_test.TestBigQueryReader.test_read_from_table_and_job_complete_retry:
>  1.0082s



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to