History | View | Annotate | Download (4.5 kB)
Increase the waiting time in gnt-job cancel test
The wait that is used for gnt-job cancel could cause flakiness if thewait is small enough for the job not to get canceled. This patchdoubles the waiting time - more than that is unfortunately probably abug....
Fix QA flakiness
The newly added job QA has some flakiness with respect to its use ofgnt-job watch. Fix this by waiting until the canceling status isreplaced with the canceled status, or a timeout is reached.
Signed-off-by: Hrvoje Ribicic <riba@google.com>...
Linting fix: remove unused import
Signed-off-by: Hrvoje Ribicic <riba@google.com>Reviewed-by: Klaus Aehlig <aehlig@google.com>
Add QA test for job cancellation
This patch introduces a QA test in which a job is cancelled whilewaiting.
Fix QA failures with "gnt-job list"
Jobs have no “name” field.
Signed-off-by: Michael Hanselmann <hansmi@google.com>Reviewed-by: Iustin Pop <iustin@google.com>
QA: Add tests for “gnt-job list”