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

Error: tracing.stop: tracing.stop: ENAMETOOLONG: name too long #3172

Closed
hatufacci opened this issue Dec 15, 2021 · 0 comments
Closed

Error: tracing.stop: tracing.stop: ENAMETOOLONG: name too long #3172

hatufacci opened this issue Dec 15, 2021 · 0 comments

Comments

@hatufacci
Copy link
Contributor

Error: tracing.stop: tracing.stop: ENAMETOOLONG: name too long
if "trace" is on,

const path = ${global.output_dir}/trace/${clearString(test.title).slice(0, 255)}.zip; this line could be more than 255 symbols
it slice only "test.title" part of this string
so, "${global.output_dir}/trace/" part could be too long that's root of the issue

Fix is ready:
const path = ${${global.output_dir}/trace/${clearString(test.title)}.slice(0, 251)}.zip;

hatufacci added a commit to hatufacci/CodeceptJS that referenced this issue Dec 15, 2021
DavertMik pushed a commit that referenced this issue Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants