Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Use pendingjobs for baseline tests #112

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

major
Copy link
Contributor

@major major commented Jul 13, 2018

This PR adds a pendingjobs entry for baseline tests. It also renames the check_baseline function to start_baseline_test since that describes the function more accurately.

This is part of the work for #110, which allows sktm to check on pending jobs later without waiting.

Allow sktm to store the name and build ID of the Jenkins job that
is spawned to run tests.

Signed-off-by: Major Hayden <major@redhat.com>
Add patches to the `patch` table as soon as they are received.

Alter the `pendingpatches` table to link test jobs (`pendingjobs`)
with patches in the `patch` table. Store each test job in the
`pendingjobs` table and refer to the table when checking on tested
patches.

Signed-off-by: Major Hayden <major@redhat.com>
Signed-off-by: Major Hayden <major@redhat.com>
Insert a pendingjob record for baseline tests and ensure the record
is removed when the baseline test is complete.

Signed-off-by: Major Hayden <major@redhat.com>
Signed-off-by: Major Hayden <major@redhat.com>
@major major self-assigned this Jul 13, 2018
@coveralls
Copy link

coveralls commented Jul 13, 2018

Pull Request Test Coverage Report for Build 353

  • 20 of 37 (54.05%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.08%) to 29.618%

Changes Missing Coverage Covered Lines Changed/Added Lines %
sktm/executable.py 0 1 0.0%
sktm/init.py 1 17 5.88%
Totals Coverage Status
Change from base Build 343: 1.08%
Covered Lines: 326
Relevant Lines: 930

💛 - Coveralls

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants