[Harness] Move to create a more general TestTasks class to be reused. - #8286
Conversation
Some of the Jenkins test tasks are very useful and do A LOT of stuff. So we try to generalize the base class, to later be able to share the most usebul ones in the shared lib.
|
Build success |
|
❌ Build was (probably) aborted 🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run' 🔥 : org.jenkinsci.plugins.workflow.steps.FlowInterruptedException ✅ Build succeeded ✅ API Diff (from stable) |
|
Needs #8289 to be merged. |
| public bool Crashed => (ExecutionResult & TestExecutingResult.Crashed) == TestExecutingResult.Crashed; | ||
| public bool TimedOut => (ExecutionResult & TestExecutingResult.TimedOut) == TestExecutingResult.TimedOut; | ||
| public bool BuildFailure => (ExecutionResult & TestExecutingResult.BuildFailure) == TestExecutingResult.BuildFailure; | ||
| public bool HarnessException => (ExecutionResult & TestExecutingResult.HarnessException) == TestExecutingResult.HarnessException; |
There was a problem hiding this comment.
A lot of code moved in this file, I have no idea if there are any actual changes or not.
There was a problem hiding this comment.
No changes in the code at all.
Co-Authored-By: Rolf Bjarne Kvinge <rolf@xamarin.com>
|
Build failure |
|
🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Package XM tests' 🔥 : java.io.IOException: MicrosoftAzureStorage - Error occurred while uploading to Azure - bosstoragemirror ✅ Build succeeded ✅ API Diff (from stable) |
compilation errors added by the review suggestions.
|
Build failure |
|
❌ Build was (probably) aborted 🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run' 🔥 : org.jenkinsci.plugins.workflow.steps.FlowInterruptedException ✅ Build succeeded ✅ API Diff (from stable) |
|
Build success |
|
❌ Build was (probably) aborted 🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run, Test run' 🔥 ✅ Build succeeded ✅ API Diff (from stable) Test results1 tests failed, 184 tests passed.Failed tests
|
…#8286) Some of the Jenkins test tasks are very useful and do A LOT of stuff. So we try to generalize the base class, to later be able to share the most usebul ones in the shared lib. Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
…#8286) Some of the Jenkins test tasks are very useful and do A LOT of stuff. So we try to generalize the base class, to later be able to share the most usebul ones in the shared lib. Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Some of the Jenkins test tasks are very useful and do A LOT of stuff. So
we try to generalize the base class, to later be able to share the most
usebul ones in the shared lib.