osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recommended circleci settings for DTest


Great, thanks Ariel. I assume it also works for uTest, right? Do you think
it worth updating the doc for that
https://github.com/apache/cassandra/blob/trunk/doc/source/development/testing.rst#circleci



On Fri, Sep 28, 2018 at 2:55 PM Ariel Weisberg <ariel@xxxxxxxxxxx> wrote:

> Hi,
>
> Apply the following diff and if you have access to the higher memory
> containers it should run the dtests with whatever you have. You may need to
> adjust parallelism to match whatever you paid for.
>
> diff --git a/.circleci/config.yml b/.circleci/config.yml
> index 5a84f724fc..76a2c9f841 100644
> --- a/.circleci/config.yml
> +++ b/.circleci/config.yml
> @@ -58,16 +58,16 @@ with_dtest_jobs_only: &with_dtest_jobs_only
>                        - build
>  # Set env_settings, env_vars, and workflows/build_and_run_tests based on
> environment
>  env_settings: &env_settings
> -    <<: *default_env_settings
> -    #<<: *high_capacity_env_settings
> +    #<<: *default_env_settings
> +    <<: *high_capacity_env_settings
>  env_vars: &env_vars
> -    <<: *resource_constrained_env_vars
> -    #<<: *high_capacity_env_vars
> +    #<<: *resource_constrained_env_vars
> +    <<: *high_capacity_env_vars
>  workflows:
>      version: 2
> -    build_and_run_tests: *default_jobs
> +    #build_and_run_tests: *default_jobs
>      #build_and_run_tests: *with_dtest_jobs_only
> -    #build_and_run_tests: *with_dtest_jobs
> +    build_and_run_tests: *with_dtest_jobs
>  docker_image: &docker_image kjellman/cassandra-test:0.4.3
>  version: 2
>  jobs:
>
> Ariel
>
> On Fri, Sep 28, 2018, at 5:47 PM, Jay Zhuang wrote:
> > Hi,
> >
> > Do we have a recommended circleci setup for DTest? For example, what's
> the
> > minimal container number I need to finish the DTest in a reasonable
> time. I
> > know the free account (4 containers) is not good enough for the DTest.
> But
> > if the community member can pay for the cost, what's the recommended
> > settings and steps to run that?
> >
> > Thanks,
> > Jay
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxxxx
>
>