Project

General

Profile

Feature #15317

Feature #15058: All supporting modules should have standalone tests

Add more tests to test/test_JobsPOMS.py

Added by Marc Mengel over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/25/2017
Due date:
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

We should do update_job tests that update exactly the fields that the jobsub_q_scraper and the joblog_scraper add in their various tests

We need to add a mock_bin that has a fake jobsub_rm, put it in the path, and make sure it gets called; clone MockCondor_q and bin_mock_condor_q but for jobsub_rm; then add tests:
  • kill all jobs in a campaign
  • kill all jobs in a task
  • kill a specific job

History

#1 Updated by Marc Mengel over 3 years ago

  • Subject changed from Add more tests to JobsPOMS.py to Add more tests to test/test_JobsPOMS.py

#2 Updated by Marc Mengel over 3 years ago

  • Assignee set to Andres Alba hernandez
  • Target version set to v2_0_0

#3 Updated by Marc Mengel over 3 years ago

See Test Suite Work to help get started.

#4 Updated by Andres Alba hernandez over 3 years ago

  • % Done changed from 0 to 10

#5 Updated by Andres Alba hernandez over 3 years ago

  • % Done changed from 10 to 20

#6 Updated by Andres Alba hernandez over 3 years ago

  • % Done changed from 20 to 50

#7 Updated by Andres Alba hernandez over 3 years ago

  • % Done changed from 50 to 80

#8 Updated by Anna Mazzacane over 3 years ago

  • Status changed from New to Work in progress

#9 Updated by Marc Mengel over 3 years ago

  • Target version changed from v2_0_0 to v2_1_0

#10 Updated by Andres Alba hernandez over 3 years ago

  • % Done changed from 80 to 100

#11 Updated by Andres Alba hernandez over 3 years ago

  • Status changed from Work in progress to Resolved

#12 Updated by Andres Alba hernandez over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF