• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CKI-project / skt / 1663
78%

Build:
DEFAULT BRANCH: master
Ran 22 Jan 2019 08:40AM UTC
Jobs 1
Files 10
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1663

push

travis-ci

wizardofoz123
feature: add redis soaking stub

This is a partial implementation of test soaking ("onboarding waived tests").

We use redis inside the container to load information about tests that
are soaking. The soaking information inside redis is a json-encoded dict
like:

    data = {
        "soaking": {
            "soaking_since": "09-01-2019",
            "runcount": 0,
            "enabled": 1
        }
    }

This patch modifies skt in such a way, that:
* if a test succeeds, we don't change anything
* if a test fails, skt looks for the testname above and tries to get soaking
  information; if there is any "enabled" attribute in soaking information
  at all, the test will be hidden if it fails/aborts

* failing soaking tests will not show in the report

The behaviour describe above will be disabled if --nosoak is used. The same
will happen if redis isn't available.
In order to enable/disable tests, they need to be added/removed in kpet-db.

Test coverage is included.

TODO (follow-up patches needed)
* gather information about failing/succeeding soaking tests
  and updateprocess it
* report on soaking tests (e.g. another email)

V1:
* more of a RFC patch
V2:
* --nosoak -> --soak
  - soaking is still enabled by default, disable using --soak false
V3:
* add missing 'soak' in test_reporter setUp()
V4:
* frigging whitespace
Signed-off-by: Jakub Racek <jracek@redhat.com>

Signed-off-by: Jakub Racek <jracek@redhat.com>

408 of 501 branches covered (81.44%)

Branch coverage included in aggregate %.

1217 of 1460 relevant lines covered (83.36%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1663.1 (TOX_ENV=py27,flake8,pylint) 22 Jan 2019 08:40AM UTC 0
82.87
Travis Job 1663.1
Source Files on build 1663
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1663
  • c7a390c8 on github
  • Prev Build on master (#1660)
  • Next Build on master (#1665)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc