Skip to content

Tests should not automatically start failing when new year comes #3547

@blakeli0

Description

@blakeli0

See the issue in #3512 and the fix in #3513, all the golden tests started failing when 2025 came. This is due to the copyright year for GAPIC generated files are automatically set to current year. While this logic makes sense, we should have a way for the tests to not automatically failing when new year comes.

Potential solutions: Maybe add a conditional flag that is passed to all tests that if the generator knows it is running from a test, then the copyright year would be fixed.

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions