You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kamil Bregula (Jira)" <ji...@apache.org> on 2020/01/05 01:14:00 UTC

[jira] [Created] (AIRFLOW-6463) Mock Cassandra in tests

Kamil Bregula created AIRFLOW-6463:
--------------------------------------

             Summary: Mock Cassandra in tests
                 Key: AIRFLOW-6463
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6463
             Project: Apache Airflow
          Issue Type: Improvement
          Components: ci
    Affects Versions: 1.10.7
            Reporter: Kamil Bregula


Cassandra consume 1.173GiB of memory. Travis does not have very efficient machines, so we should limit system/integration tests of components that do not require much attention, e.g. they are not changed often. Cassandra is a good candidate for this. This will allow the machine power to be used for more needed work.
{code:java}
CONTAINER ID        NAME                                  CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
8aa37ca50f7c        ci_airflow-testing_run_1f3aeb6d1052   0.00%               5.715MiB / 3.855GiB   0.14%               1.14kB / 0B         2.36MB / 0B         2
f2b3be15558f        ci_cassandra_1                        0.69%               1.173GiB / 3.855GiB   30.42%              2.39kB / 0B         75.3MB / 9.95MB     50
ef1de3981ca6        ci_krb5-kdc-server_1                  0.02%               12.15MiB / 3.855GiB   0.31%               2.46kB / 0B         18.9MB / 184kB      4
be808233eb91        ci_mongo_1                            0.31%               36.71MiB / 3.855GiB   0.93%               2.39kB / 0B         43.2MB / 19.1MB     24
667e047be097        ci_rabbitmq_1                         0.77%               69.95MiB / 3.855GiB   1.77%               2.39kB / 0B         43.2MB / 508kB      92
2453dd6e7cca        ci_postgres_1                         0.00%               7.547MiB / 3.855GiB   0.19%               1.05MB / 889kB      35.4MB / 145MB      6
78050c5c61cc        ci_redis_1                            0.29%               1.695MiB / 3.855GiB   0.04%               2.46kB / 0B         6.94MB / 0B         4
c117eb0a0d43        ci_mysql_1                            0.13%               452MiB / 3.855GiB     11.45%              2.21kB / 0B         33.9MB / 548MB      21
131427b19282        ci_openldap_1                         0.00%               45.68MiB / 3.855GiB   1.16%               2.64kB / 0B         32.8MB / 16.1MB     4
8c2549c010b1        ci_docker_1                           0.59%               22.06MiB / 3.855GiB   0.56%               2.39kB / 0B         95.9MB / 291kB      30
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)