Tests clear flow tombstones between modules with the other engine rows, and the tombstone test commits its prune before checking the count, so a wrong count no longer holds the write lock over the tests after it
This commit is contained in:
@@ -18,6 +18,7 @@ from fluksio.main import app
|
||||
from fluksio.models import (
|
||||
EngineEvent,
|
||||
FlowRun,
|
||||
FlowTombstone,
|
||||
MetricBucket,
|
||||
Run,
|
||||
RunArtifact,
|
||||
@@ -69,7 +70,8 @@ def db() -> Generator[Session, None, None]:
|
||||
|
||||
|
||||
#: Tables the engine writes to on its own, from the collector and the run
|
||||
#: service the module-scoped app starts.
|
||||
#: service the module-scoped app starts, and the tombstones a flow deleted
|
||||
#: through it leaves for that history.
|
||||
_ENGINE_TABLES = (
|
||||
RunArtifact,
|
||||
RunMetric,
|
||||
@@ -78,6 +80,7 @@ _ENGINE_TABLES = (
|
||||
FlowRun,
|
||||
EngineEvent,
|
||||
MetricBucket,
|
||||
FlowTombstone,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user