Skip to content

[CT-166] [Bug] accepted_values test causing OSError: File name too long #4684

Closed
@treeforest456

Description

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

We have 12 accepted values defined in the accepted_values test list. When running this, it gives this OSError

OSError: [Errno 36] File name too long: '/home/********/project/project-name/target/test.folder.source_accepted_values_very_long_accepted_values_strings.123456789.html'

Expected Behavior

Maybe a better way to generate test file names? Or maybe document somewhere that there could be a limit of number of accepted values defined in the list?

Steps To Reproduce

No response

Relevant log output

No response

Environment

- OS: macOS Big Sur, version 11.5.2
- Python: 3.9.5
- dbt: 1.0.0

What database are you using dbt with?

snowflake

Additional Context

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdbt testsIssues related to built-in dbt testing functionalitygood_first_issueStraightforward + self-contained changes, good for new contributors!staleIssues that have gone stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions