KASM-6984 Add additional tools and scripts to Dockerfile for dev setup

This commit is contained in:
El 2025-04-17 14:36:46 +05:00
parent 360b75e8e6
commit 15de8da56b
No known key found for this signature in database
GPG Key ID: EB3F4C9EA29CDE59
2 changed files with 4 additions and 2 deletions

View File

@ -104,3 +104,4 @@ def kill_xvnc():
run_cmd('vncserver -kill :1', print_stderr=False) run_cmd('vncserver -kill :1', print_stderr=False)
running_xvnc = False running_xvnc = False
clean_locks()

View File

@ -1,6 +1,6 @@
from mamba import description, context, it, fit, before, after from mamba import description, context, it, fit, before, after
from expects import expect, equal, contain, match from expects import expect, equal, contain, match
from helper.spec_helper import run_cmd, clean_env, kill_xvnc from helper.spec_helper import run_cmd, clean_env, kill_xvnc, clean_locks
with description("Benchmarking"): with description("Benchmarking"):
with before.each: with before.each:
@ -9,4 +9,5 @@ with description("Benchmarking"):
kill_xvnc() kill_xvnc()
with it("runs benchmarks"): with it("runs benchmarks"):
completed_process = run_cmd("Xvnc -interface 0.0.0.0 :1 -selfBench") completed_process = run_cmd("Xvnc -interface 0.0.0.0 :1 -selfBench")
expect(completed_process.returncode).to(equal(0)) clean_locks()
expect(completed_process.returncode).to(equal(0))