-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Smoke test fail in connecting flow between apps #236
Comments
more logs: [ RUN ] ExtensionTest.GraphMultiplePolygonOneApp |
根据日志分析,基本找到了出错的环节,核心原因是在 remote_t 的创建异步化之后,创建完成加入engine remote列表并且connect to remote之前没有做判断,因为可能此时engine内可能已存在了和远端的连接。 为什么 GraphMultiplePolygon 这个test case会跑出来错误? 解决办法: |
核心日志是这一段,全部都是8003的app thread, 在连接到 8001 的remote创建过程中,收到了来自8001的start_graph cmd, 所以能看到连向同一个远端的两个remote对象都被加入到了remote list里: 11-12 08:58:26.094 58417(7247) D ten_engine_handle_cmd_start_graph@start_graph.c:66 Check if we have connected to msgpack://127.0.0.1:8001/. |
Description
ten_engine_link_connection_to_remote@remote_interface.c:198 The relationship of remote and connection should be 1-1 mapping.
in smoke test ExtensionTest.GraphMultiplePolygon
Environment
all
Steps to reproduce
run smoke test ExtensionTest.GraphMultiplePolygon, but occasional appearance.
Expected behavior
no error in this test case
Actual behavior
assert failure
Version
0.3.1
Severity
Major
Additional Information
No response
The text was updated successfully, but these errors were encountered: