Skip to content
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

自动化测试 project libs 失效 #152

Closed
yaming116 opened this issue Apr 10, 2018 · 2 comments
Closed

自动化测试 project libs 失效 #152

yaming116 opened this issue Apr 10, 2018 · 2 comments
Labels
Bug Issues we’re aware of, regardless of where users have reported them (Forums, Twitter, etc.)
Milestone

Comments

@yaming116
Copy link

单个用例执行和自动化测试手动执行l都ib是生效,但是定时执行时候会报错,找不到当前libs

[2018-04-10 01:26:48.069] [ERROR] default - Error: no valid js lib named [qs], you should upload this lib first.
    at Sandbox.require (/usr/src/Hitchhiker/build/run_engine/sandbox.js:65:19)
    at Object.apply (/usr/src/Hitchhiker/node_modules/vm2/lib/contextify.js:288:34)
    at vm.js:7:35
    at module.exports (vm.js:34:22)
    at Object.apply (/usr/src/Hitchhiker/node_modules/vm2/lib/contextify.js:87:36)
    at Promise (/usr/src/Hitchhiker/build/run_engine/script_runner.js:76:17)
    at Function.run (/usr/src/Hitchhiker/build/run_engine/script_runner.js:75:20)
    at Function.<anonymous> (/usr/src/Hitchhiker/build/run_engine/script_runner.js:50:44)
    at Generator.next (<anonymous>)
    at /usr/src/Hitchhiker/build/run_engine/script_runner.js:7:71

@yaming116
Copy link
Author

项目手动重新一下,lib生效了

@brookshi
Copy link
Owner

这个看起来是个bug,我查下哈,谢谢

@brookshi brookshi added the Bug Issues we’re aware of, regardless of where users have reported them (Forums, Twitter, etc.) label May 6, 2018
@brookshi brookshi added this to the 0.12 milestone May 6, 2018
@brookshi brookshi closed this as completed May 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues we’re aware of, regardless of where users have reported them (Forums, Twitter, etc.)
Projects
None yet
Development

No branches or pull requests

2 participants