Class TestPipeline.StandaloneRerunRequested
- All Implemented Interfaces:
Serializable
- Enclosing class:
TestPipeline
Thrown out of TestPipeline.run() by a runner that merged this pipeline into a job shared with
other tests and could not reach a verdict for this test from that job. The pipeline is not run
again by the runner: once the shared job was built from it, this pipeline's graph is no longer
guaranteed to be the one the test constructed. Instead the whole test has to be executed again
from scratch, with standalone execution forced so
that the fresh pipeline runs as a job of its own. BeamParallelJunit4Runner does that
automatically (once); under any other runner this surfaces as the test's failure.
An Error rather than an exception so that test code wrapping run() in
catch (Exception e) or assertThrows(Exception.class, ...) cannot mistake it for the
failure it was looking for.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StandaloneRerunRequested
-