diff options
| author | Dan Engelbrecht <[email protected]> | 2026-03-09 22:20:52 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-03-09 22:20:52 +0100 |
| commit | 9f33eaa7b7f246d68ea539f32cd74ecf8dfd5790 (patch) | |
| tree | b55891ffd66b1f6ab68da8a9fdf8ccabd07d50e7 /scripts/test_scripts | |
| parent | Dashboard overhaul, compute integration (#814) (diff) | |
| download | zen-9f33eaa7b7f246d68ea539f32cd74ecf8dfd5790.tar.xz zen-9f33eaa7b7f246d68ea539f32cd74ecf8dfd5790.zip | |
updated chunk–block analyser (#818)
* create oplogs as they are imported
* Improved logic for partial block analisys
* unit tests for ChunkBlockAnalyser
Diffstat (limited to 'scripts/test_scripts')
| -rw-r--r-- | scripts/test_scripts/oplog-import-export-test.py | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/scripts/test_scripts/oplog-import-export-test.py b/scripts/test_scripts/oplog-import-export-test.py index 51593d5a9..b2a5ece6c 100644 --- a/scripts/test_scripts/oplog-import-export-test.py +++ b/scripts/test_scripts/oplog-import-export-test.py @@ -96,15 +96,17 @@ def check_prerequisites() -> None: def setup_project(port: int) -> None: - """Create the FortniteGame project and all oplogs on the server at the given port.""" + """Create the FortniteGame project on the server at the given port.""" print("--------- creating FortniteGame project") run([ZEN_EXE, "project-create", f"--hosturl=127.0.0.1:{port}", "FortniteGame", "--force-update"]) print() - for build in BUILDS: - print(f"--------- creating {build.name} oplog") - run([ZEN_EXE, "oplog-create", f"--hosturl=127.0.0.1:{port}", "FortniteGame", build.name, "--force-update"]) - print() + +def setup_oplog(port: int, build_name: str) -> None: + """Create the oplog in the FortniteGame project on the server at the given port.""" + print(f"--------- creating {build_name} oplog") + run([ZEN_EXE, "oplog-create", f"--hosturl=127.0.0.1:{port}", "FortniteGame", build_name, "--force-update"]) + print() def main() -> None: @@ -165,6 +167,8 @@ def main() -> None: setup_project(ZEN_PORT) for build in BUILDS: + setup_oplog(ZEN_PORT, build.name) + print(f"--------- importing {build.name} oplog") run([ ZEN_EXE, "oplog-import", @@ -206,6 +210,8 @@ def main() -> None: setup_project(ZEN_PORT) for build in BUILDS: + setup_oplog(ZEN_PORT, build.name) + print(f"--------- importing {build.name} oplog") run([ ZEN_EXE, "oplog-import", |