Skip to content

Commit

Permalink
fix: refine codes
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Dec 7, 2024
1 parent 65d8e82 commit d4f17bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/out/linux/x64/ten_manager/bin/tman",
"cwd": "${workspaceFolder}/out/linux/x64/app/ffmpeg",
"cwd": "${workspaceFolder}/out/linux/x64/tests/ten_manager/install/template_mode_with_same_name_extension/mock_app",
"args": [
"install",
"extension",
Expand Down
10 changes: 5 additions & 5 deletions tests/ten_runtime/integration/cpp/graph_env_var_1/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ def test_graph_env_var_1_app():
print("The graph_env_var_1_app is not started after 30 seconds.")

server.kill()
exit_code = server.wait()
server_rc = server.wait()

server_output, _ = server.communicate()
print("Server output:")
print(server_output)

print("The exit code of graph_env_var_1_app: ", exit_code)
print("The exit code of graph_env_var_1_app: ", server_rc)

assert exit_code == 0
assert server_rc == 0, f"Server exited with code {server_rc}"
assert False

client = subprocess.Popen(
Expand All @@ -160,8 +160,8 @@ def test_graph_env_var_1_app():

print("server: ", server_rc)
print("client: ", client_rc)
assert server_rc == 0
assert client_rc == 0
assert server_rc == 0, f"Server exited with code {server_rc}"
assert client_rc == 0, f"Client exited with code {client_rc}"

if build_config_args.ten_enable_integration_tests_prebuilt is False:
source_root_path = os.path.join(base_path, source_pkg_name)
Expand Down

0 comments on commit d4f17bc

Please sign in to comment.