You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Jay Zhuang <zj...@uber.com.INVALID> on 2018/09/28 21:47:55 UTC
Recommended circleci settings for DTest
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
Re: Recommended circleci settings for DTest
Posted by Ariel Weisberg <ar...@weisberg.ws>.
Hi,
Yes I think it is. I can do it Monday.
Ariel
On Fri, Sep 28, 2018, at 7:09 PM, Jay Zhuang wrote:
> 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 <ar...@weisberg.ws> 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@cassandra.apache.org
> > For additional commands, e-mail: dev-help@cassandra.apache.org
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org
Re: Recommended circleci settings for DTest
Posted by Jay Zhuang <zj...@uber.com.INVALID>.
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 <ar...@weisberg.ws> 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@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>
>
Re: Recommended circleci settings for DTest
Posted by Ariel Weisberg <ar...@weisberg.ws>.
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@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org