feat: implement CH5 cube renewal, SQL fence routing, and transactional crafting
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
"""Ground-gold source closure, not a claim of complete actor quiescence."""
|
||||
import subprocess
|
||||
import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
ROOT=Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
class CubeGoldSource(unittest.TestCase):
|
||||
def test_durable_source_close_drains_sql_and_refuses_late_events(self):
|
||||
with tempfile.TemporaryDirectory() as folder:
|
||||
exe=Path(folder)/'source'
|
||||
subprocess.run(['c++','-std=c++17','-fsanitize=address,undefined','-fno-sanitize-recover=all',
|
||||
'-I'+str(ROOT),str(ROOT/'tests/features/fixtures/cube_source_probe.cpp'),'-lsqlite3','-o',str(exe)],check=True)
|
||||
subprocess.run([str(exe),str(Path(folder)/'cube.db')],check=True)
|
||||
|
||||
|
||||
if __name__=='__main__':unittest.main()
|
||||
Reference in New Issue
Block a user