Description
Two test cases are unstable because StatusTransitService might change the coord job status.
testActionKillCommandDate
08:15:16,122 [pool-3063-thread-2] TRACE CoordStatusTransitXCommand:529 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081515125-oozie-root-C] ACTION[-] Precondition check for command [coord_status_transit] key [0000000-160708081515125-oozie-root-C] 08:15:16,122 [pool-3063-thread-2] DEBUG CoordStatusTransitXCommand:526 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081515125-oozie-root-C] ACTION[-] Execute command [coord_status_transit] key [0000000-160708081515125-oozie-root-C] 08:15:16,122 [pool-3063-thread-2] INFO CoordStatusTransitXCommand:520 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081515125-oozie-root-C] ACTION[-] Set coordinator job [0000000-160708081515125-oozie-root-C] status to 'KILLED' from 'RUNNING'
testActionKillCommandActionNumbers
08:15:13,886 [pool-3059-thread-2] TRACE CoordStatusTransitXCommand:529 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081512561-oozie-root-C] ACTION[-] Precondition check for command [coord_status_transit] key [0000000-160708081512561-oozie-root-C] 08:15:13,886 [pool-3059-thread-2] DEBUG CoordStatusTransitXCommand:526 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081512561-oozie-root-C] ACTION[-] Execute command [coord_status_transit] key [0000000-160708081512561-oozie-root-C] 08:15:13,886 [pool-3059-thread-2] INFO CoordStatusTransitXCommand:520 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081512561-oozie-root-C] ACTION[-] Set coordinator job [0000000-160708081512561-oozie-root-C] status to 'RUNNINGWITHERROR' from 'RUNNING'